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

Product Taxon Association destroyed with rails g spree_product_sort:install #6

Open
jetsgit opened this issue Nov 8, 2012 · 3 comments

Comments

@jetsgit
Copy link

jetsgit commented Nov 8, 2012

Hi Andrew,

have installed your fork of spree product sort.

Works great, but I did notice it destroyed the existing taxons that are
associated with a product.

Would you happen to know if there is any way to modify the rake install
so it does not destroy existing associations of products to taxons?

Or is it a requirement to start at ground zero?

Thanks!

jet

@GeekOnCoffee
Copy link
Owner

Hey,

I'm looking at this now... the only reason I can see it should destroy this data is if the migration is downed. Did you do this, or run into any errors?

@jetsgit
Copy link
Author

jetsgit commented Nov 9, 2012

Nope, didn't down it. Just ran

rails g spree_product_sort:install

and it installed perfectly. Worked great too, except that my products were no longer
associated to a taxon. Have you tested this before in this situation with existing
product / taxon associations?

@GeekOnCoffee
Copy link
Owner

Most of what I've done on this extension has simply been maintenance... updating for new spree versions, etc. I haven't spent much time actually using it or testing it.

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

2 participants