From 2dfa8b5995d4f50df6f0080d4df634679cc44e30 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 15 May 2012 13:41:49 -0300 Subject: Fix indent from previous merge --- activemodel/lib/active_model/validations.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activemodel/lib/active_model') 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. -- cgit v1.2.3