1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

slight performance improvement when grabbing an arel table

This commit is contained in:
Aaron Patterson 2010-07-27 21:05:11 -07:00
parent 9d109302f1
commit fe9d7abb39

View file

@ -803,7 +803,7 @@ module ActiveRecord #:nodoc:
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