Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group_by_products_ids not found #36

Open
balen opened this issue Jun 18, 2014 · 0 comments
Open

group_by_products_ids not found #36

balen opened this issue Jun 18, 2014 · 0 comments

Comments

@balen
Copy link

balen commented Jun 18, 2014

Using Rails 4.0.4 with Spree stable 2.2. When I install spree product groups and try to create a group I get an exception stating that group_by_products_id is not a valid method.
I fixed this locally by changing line 125 of file /app/models/spree/product_group.rb to the following:

apply_on(Product.group :id, use_order)

I am not sure if this is what is intended as I am not sure what what product groups is used for. I was investigating various spree plugins to see if I could create dynamic relationships between products for bundles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant