rails / protected_attributes

Protect attributes from mass-assignment in ActiveRecord models.
MIT License
228 stars 92 forks source link

Updating the README with details about :strict #48

Closed patrickdavey closed 9 years ago

patrickdavey commented 9 years ago

I was just updating a rails 3 app, and one of my tests was failing as it was expecting an ActiveModel::MassAssignmentSecurity::Error to be raised when a protected attribute was being sent through.

This just adds the :strict information to the README.

Thanks for the great work, now that the tests are all green I can go about removing this gem ... but this certainly made the transition process easier - so thanks very much! :+1:

patrickdavey commented 9 years ago

I've updated the readme with the global config option.