Open robwar opened 8 years ago
Shipping state was not ransackable, and was leading to this error on a fresh install: https://github.com/spree-contrib/spree_drop_ship/issues/73
The "state" attributed just needed to be added to the whitelist.
adding these lines in models/spee/shipment_decorator.rb is solved my issue
Spree::Shipment.class_eval do self.whitelisted_ransackable_attributes = ['number', 'state'] end
Shipping state was not ransackable, and was leading to this error on a fresh install: https://github.com/spree-contrib/spree_drop_ship/issues/73
The "state" attributed just needed to be added to the whitelist.