Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:22Length:2.7 hours
  • Overview
  • Transcript

3.4 Strong Parameters

The topic of mass assignment protection has always been really important in Rails. Its 3.2 release brought the `attr_accessible` method as a way to protect against malicious attempts to modify data.

Rails 4 introduces a smarter way to protected data coming from the outside with the new `strong_parameters` gem. This lesson will teach you how to install it and use it.