Closed mdundas closed 10 years ago
Thanks. Do you not get a FriendlyId error when using in your application? Trying to run the specs I receivE: uninitialized constant FriendlyId::ActiveRecord
Did you see the line i changed in the Gemspec? Maybe it didn't get picked up?
s.add_dependency 'friendly_id', '~> 5.0.0'
You'll also need that line in your Gemfile... thats probably what the problem is. You could add it to your documentation but since its a requirement of Spree/Rails and not drop_ship i don't think its necessary.
It's required for this extension not Spree. It shouldn't need to be added to your Gemfile since it's been added to the gemspec and required here: https://github.com/jdutil/spree_drop_ship/blob/master/lib/spree_drop_ship.rb#L2
but the call to require it is what causes the error.
I've merged your work but It's still broken.
I have some time, i'll look into adding support for strong parameters...
Works well, except for the links on the Supplier view. I included a todo next to the broken links. Notice the bumped version of friendly_id.