From 07e41a83616966fef848797c3474eb7704a62794 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sat, 16 Jan 2010 23:17:14 +0530 Subject: No need to set @arel_engine to nil twice. Committed by mistake in 3968825f --- activerecord/lib/active_record/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record/base.rb') diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index d0db9fadcd..acebf1e7fd 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -1388,7 +1388,7 @@ module ActiveRecord #:nodoc: def reset_column_information undefine_attribute_methods @column_names = @columns = @columns_hash = @content_columns = @dynamic_methods_hash = @inheritance_column = nil - @arel_engine = @active_relation = @arel_engine = nil + @arel_engine = @active_relation = nil end def reset_column_information_and_inheritable_attributes_for_all_subclasses#:nodoc: -- cgit v1.2.3