Comment on How github was hackedparentComments−wtn14yThis feature already exists in Rails.https://github.com/lest/rails/commit/f2fa4837a8a888ee86997be...−sjtgraham14yOnly for relatively new versions of Rails. The oldest version of Rails including this patch was released January 20, 2012.−spicyj14yNote that that commit is only a comment -- the addition of "whitelist_attributes" presumably is older.−sirn14yIt was added in Rails 3.1.
Comments
This feature already exists in Rails.
https://github.com/lest/rails/commit/f2fa4837a8a888ee86997be...
Only for relatively new versions of Rails. The oldest version of Rails including this patch was released January 20, 2012.
Note that that commit is only a comment -- the addition of "whitelist_attributes" presumably is older.
It was added in Rails 3.1.