diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2010-01-16 23:17:14 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2010-01-16 23:17:14 +0530 |
commit | 07e41a83616966fef848797c3474eb7704a62794 (patch) | |
tree | 7050efe2228be1a1a510edf2c5ec46a38cef05be /activerecord | |
parent | 3968825f5ff6a75cb83400716d56ec10f261e41a (diff) | |
download | rails-07e41a83616966fef848797c3474eb7704a62794.tar.gz rails-07e41a83616966fef848797c3474eb7704a62794.tar.bz2 rails-07e41a83616966fef848797c3474eb7704a62794.zip |
No need to set @arel_engine to nil twice. Committed by mistake in 3968825f
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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: |