Strong Parameters & Rails 4

Today I was doing some Rails training on Treehouse. As I was working on my demo app I got the message:

`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.

So I did some googling and here is one of the posts (quick & dirty) that I liked more about this new mode of operation.

Continue reading

Advertisements