Permalink
Browse files

No need to set @arel_engine to nil twice. Committed by mistake in 396…

  • Loading branch information...
1 parent 3968825 commit 07e41a83616966fef848797c3474eb7704a62794 @lifo lifo committed Jan 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/base.rb
@@ -1388,7 +1388,7 @@ def column_methods_hash #: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:

0 comments on commit 07e41a8

Please sign in to comment.