Skip to content

Commit

Permalink
No need to set @arel_engine to nil twice. Committed by mistake in 396…
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Jan 16, 2010
1 parent 3968825 commit 07e41a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 07e41a8

Please sign in to comment.