diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-15 13:41:49 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-15 13:41:49 -0300 |
commit | 2dfa8b5995d4f50df6f0080d4df634679cc44e30 (patch) | |
tree | 1f849f0b2430d9ffe4800aafda170fbf3555ab32 /activemodel/lib | |
parent | 9a868a01b8449fe9bedaee3d4c946f8409b42417 (diff) | |
download | rails-2dfa8b5995d4f50df6f0080d4df634679cc44e30.tar.gz rails-2dfa8b5995d4f50df6f0080d4df634679cc44e30.tar.bz2 rails-2dfa8b5995d4f50df6f0080d4df634679cc44e30.zip |
Fix indent from previous merge
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/validations.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index 1d39f2357f..b48e910408 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -167,8 +167,8 @@ module ActiveModel # Clean the +Errors+ object if instance is duped def initialize_dup(other) # :nodoc: - @errors = nil - super + @errors = nil + super end # Returns the +Errors+ object that holds all information about attribute error messages. |