Permalink
Browse files

Merge pull request #1577 from reu/useless-variable-set

Instance variable not used.
  • Loading branch information...
josevalim committed Jun 9, 2011
2 parents 9295053 + 8166e4b commit 12245a33252c412da36e54671beac2f8f0325c65
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/base.rb
@@ -660,7 +660,6 @@ def set_table_name(value = nil, &block)
@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

0 comments on commit 12245a3

Please sign in to comment.