Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Strong Parameters

#371 Strong Parameters pro

Aug 03, 2012 | 12 minutes | Plugins, Authorization, Rails 4.0
The strong_parameters gem is an improvement over attr_accessible to securely handle mass assignment even when you have complex authorization logic. The functionality will likely be added to Rails 4 so it is a good idea to learn how it works.
  • Download:
  • source codeProject Files in Zip (74.9 KB)
  • mp4Full Size H.264 Video (30.1 MB)
  • m4vSmaller H.264 Video (15.2 MB)
  • webmFull Size VP8 Video (17.7 MB)
  • ogvFull Size Theora Video (35.5 MB)