diff options
author | Xavier Noria <fxn@hashref.com> | 2011-06-18 10:11:47 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-06-18 10:11:47 +0200 |
commit | 146ec2d1df81b19ed5f36b9572ad70a5814fa49d (patch) | |
tree | ef2d9d54b0ba6f2c7f5bc46c982dcbedad38ca54 /activemodel/lib | |
parent | 08983fefd547142ef8b913af1859b96597753d9f (diff) | |
parent | 0fd52bb6c79f20b8dbd5c8afb774ef1dae155fc4 (diff) | |
download | rails-146ec2d1df81b19ed5f36b9572ad70a5814fa49d.tar.gz rails-146ec2d1df81b19ed5f36b9572ad70a5814fa49d.tar.bz2 rails-146ec2d1df81b19ed5f36b9572ad70a5814fa49d.zip |
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/mass_assignment_security/sanitizer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb b/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb index ee43a6694f..bb0526adc3 100644 --- a/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb +++ b/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb @@ -19,7 +19,7 @@ module ActiveModel removed_keys = attributes.keys - sanitized_attributes.keys process_removed_attributes(removed_keys) if removed_keys.any? end - + def process_removed_attributes(attrs) raise NotImplementedError, "#process_removed_attributes(attrs) suppose to be overwritten" end |