Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Rails 4 - Strong Parameters , Mass Assignment Security Error #12

Open
victorvprem opened this issue Mar 18, 2014 · 2 comments
Open

Rails 4 - Strong Parameters , Mass Assignment Security Error #12

victorvprem opened this issue Mar 18, 2014 · 2 comments

Comments

@victorvprem
Copy link

I am using Rails 4, when i'm trying to execute bundle exec etl etl/process_all.ebf, it shows the following error

"/home/victor/.rvm/gems/ruby-2.1.0/gems/activemodel-4.0.2/lib/active_model/deprecated_mass_assignment_security.rb:14:in attr_accessible':attr_accessibleis extracted out of Rails into a gem. Please use new recommended protection model for params(strong_parameters) or addprotected_attributes` to your Gemfile to use old one. (RuntimeError)"
Please help me to resolve this issue

@kookster
Copy link
Member

Is that all you are getting from the stack trace?
Is this the simple or advanced example?

@victorvprem
Copy link
Author

Yes kookster. I tried with simple example

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants