diff options
author | José Valim <jose.valim@gmail.com> | 2011-06-08 23:33:42 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-06-08 23:33:42 -0700 |
commit | 12245a33252c412da36e54671beac2f8f0325c65 (patch) | |
tree | 18a9ff5f06a70c8513107d0dfd0750c6ff3c5283 /activerecord/lib/active_record/base.rb | |
parent | 9295053d9d92cd07644baedbbce6617c25616a13 (diff) | |
parent | 8166e4b0c3db7837e3880e44b56800fe531cdcd2 (diff) | |
download | rails-12245a33252c412da36e54671beac2f8f0325c65.tar.gz rails-12245a33252c412da36e54671beac2f8f0325c65.tar.bz2 rails-12245a33252c412da36e54671beac2f8f0325c65.zip |
Merge pull request #1577 from reu/useless-variable-set
Instance variable not used.
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index c2b09ad393..900abd323b 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -660,7 +660,6 @@ module ActiveRecord #:nodoc: @quoted_table_name = nil define_attr_method :table_name, value, &block - @arel_table = Arel::Table.new(table_name, arel_engine) @relation = Relation.new(self, arel_table) end alias :table_name= :set_table_name |