aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/mass_assignment_security_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* singular and collection relations in AR can now specify mass-assignment ↵Josh Kalderimis2011-05-011-33/+307
| | | | security options (:as and :without_protection) in build, create and create! methods.
* Added mass-assignment security :as and :without_protection support to AR.new ↵Josh Kalderimis2011-05-011-24/+114
| | | | and AR.create
* fix mass-assignment security tests, this was due to a string column limit ↵Josh Kalderimis2011-04-271-9/+9
| | | | which doesn't cause issues on sqlite
* Added assign_attributes to Active Record which accepts a mass-assignment ↵Josh Kalderimis2011-04-241-0/+71
| | | | security scope using the :as option, while also allowing mass-assignment security to be bypassed using :with_protected
* mass_assignment_security moved from AR to AMo, and minor test cleanupJosh Kalderimis2010-07-081-62/+9
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* minor changes to mass assignment security patch to bring it in line with ↵Josh Kalderimis2010-07-081-0/+96
rails standards Signed-off-by: José Valim <jose.valim@gmail.com>