Permalink
Browse files

slight performance improvement when grabbing an arel table

  • Loading branch information...
1 parent 9d10930 commit fe9d7abb3983605464b74aab58a25beeb40d7d78 @tenderlove tenderlove committed Jul 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/base.rb
@@ -803,7 +803,7 @@ def sti_name
end
def arel_table
- @arel_table ||= Arel::Table.new(table_name, :engine => arel_engine)
+ @arel_table ||= Arel::Table.new(table_name, arel_engine)
end
def arel_engine

0 comments on commit fe9d7ab

Please sign in to comment.