ruby-protected-attributes

Protect attributes from mass assignment in Active Record models

Description

This plugin adds the class methods `attr_accessible` and `attr_protected` to your models to be able to declare white or black lists of attributes, avoiding attacks by parameter injection against Rails applications.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/rails/protected_attributes


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-protected-attributes