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

Rails 4 spree 2 3 #12

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

fattymiller
Copy link

Bump for Spree 2.3 that I needed

…ore paths - installer writes these to the vendor directory
…g a NullRefernce exception when viewing subscriptions in 'cart' status
…g which subscriptions are ready to be reordered. moved the processing inside of the model instead of in the rake task so that the two dont need to share logic. changed the order of some of the steps to work with spree-2-3. added a simple progress sanity checker - this should ideally use the state machine helper methods
add_subscription variant_id, params[:subscriptions][:interval_id]
end if params[:variants]
end
params[:products].each { |product_id, variant_id| add_subscription(variant_id, interval_id) } if params[:products]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused block argument - product_id. If it's necessary, use _ or _product_id as an argument name to indicate that it won't be used.
Line is too long. [118/80]

@acreilly
Copy link

@fattymiller Does this branch work? I need to set this up on a project and have spent all day upgrading the aloha branch to 2-3-stable.. to find this PR... :/

@fattymiller
Copy link
Author

@acreilly Sorry to hear about your day!
It worked for my purposes and is currently used in a production app. Let me know if you need any assistance in getting it set up for your use.

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

Successfully merging this pull request may close these issues.

3 participants