While adding spree_advanced_inventory gem to an existing spree application I am getting the following error.
/usr/local/rvm/gems/ruby-2.3.0/gems/activerecord-4.2.6/lib/active_record/dynamic_matchers.rb:26:in 'method_missing': undefined method 'attr_accessible' for
Then I added protected-attributes
gem to my gem file, bundle install worked well, but when I tried bundle exec rails g spree_advanced_inventory:install giving me result as
"SPREE doesn't work with protected_attributes gem installed"