diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-06-12 10:31:21 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-06-12 10:31:21 -0500 |
commit | 657ba2a9f089d68171bb1820d4aa278f7ed022ca (patch) | |
tree | 78e3c453c68e92473d2e33ab4c79c8af57e9ae0c /activemodel/lib/active_model | |
parent | 00b4756790b04272da3e1ce821a35cc5a9ab1c77 (diff) | |
download | rails-657ba2a9f089d68171bb1820d4aa278f7ed022ca.tar.gz rails-657ba2a9f089d68171bb1820d4aa278f7ed022ca.tar.bz2 rails-657ba2a9f089d68171bb1820d4aa278f7ed022ca.zip |
Remove trailing whitespaces
Diffstat (limited to 'activemodel/lib/active_model')
-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 |