From 9b4f5041d29f7e558f3286d40e5dc9edbe96cfb6 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> Date: Tue, 15 May 2012 13:38:29 -0300 Subject: Kill whitespaces :scissors: --- activemodel/lib/active_model/validations.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activemodel/lib') diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb index 72176e9bdd..611e9ffd55 100644 --- a/activemodel/lib/active_model/validations.rb +++ b/activemodel/lib/active_model/validations.rb @@ -177,12 +177,12 @@ module ActiveModel super end end - + # Clean the +Errors+ object if instance is duped def initialize_dup(other) # :nodoc: @errors = nil super - end + end # Returns the +Errors+ object that holds all information about attribute error messages. def errors -- cgit v1.2.3