Я пытаюсь использовать Twitter's ActiveRecord Reputation System gem с Rails 4
примененияActiveRecord Репутация Система самоцвет с Rails 4
Ive добавил gem 'activerecord-reputation-system'
к моему Gemfile
и запустить bundle install
Когда я бегу rails generate reputation_system
я получаю следующее сообщение об ошибке:
/Users/Dee/.rvm/gems/ruby-2.0.0-p247/gems/activemodel-4.0.2/lib/active_model/deprecated_mass_assignment_security.rb:14:in `attr_accessible': `attr_accessible` is extracted out of Rails into a gem. Please use new recommended protection model for params(strong_parameters) or add `protected_attributes` to your Gemfile to use old one. (RuntimeError)
Ive попробовал добавить gem 'protected_attributes'
к моему Gemfile
, но это не исправить.
Любые идеи?