RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: arduima
Hey everyone, so I am trying to use this on Rails 4 with Devise, is this not supported?
I get this error:
activemodel-4.0.0/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)
Should I be using the "Protected Attributes" or having strong parameters defined in a controller somewhere, but which fields?