Hello I tried To use attr_protected
on Rails 4 but I couldn't.
It's say attr_protected
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.
What can I do know ?
attr_protected :project_id