From dfc66f44218aa2ef2bd768000fd6e83b4fd8c96a Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 7 Dec 2010 15:00:00 -0800 Subject: renaming froms to from --- lib/arel/select_manager.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/arel') diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index 07de9fe224..bbe41ac4f1 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -66,8 +66,8 @@ module Arel # FIXME: this is a hack to support # test_with_two_tables_in_from_without_getting_double_quoted # from the AR tests. - if @ctx.froms - source = @ctx.froms + if @ctx.from + source = @ctx.from if Nodes::SqlLiteral === table && Nodes::Join === source source.left = table @@ -75,7 +75,7 @@ module Arel end end - @ctx.froms = table + @ctx.from = table self end -- cgit v1.2.3