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

10 commits

Author SHA1 Message Date
Jon Leighton
1de1041c00 Add Nodes::TableAlias#engine
Eventually #engine should go away, but until that time, this means that
Table and Nodes::TableAlias can be used more interchangeably.
2012-07-13 11:19:17 +01:00
JoelJuliano
45f87174d1 Allow using non-table alias as a rhs relation name, fix for #84 and #59 2011-10-30 19:06:15 -05:00
Aaron Patterson
ff1718142c fixing the leg order of TableAlias nodes 2011-03-30 09:21:45 -07:00
Jon Leighton
a855308204 Add an #table_name method to Table and TableAlias, which always returns the actual table name, not the alias. Then fix ToSql#column_for to use this table name when checking whether the table exists (rather than before, where it was checking whether a table with the alias name exists, which was incorrect). 2011-03-04 06:17:18 +08:00
Aaron Patterson
fef5e012c9 adding factory methods to node base class 2010-12-14 16:24:36 -08:00
Aaron Patterson
039947e5ac updating nodes and depth first visitor 2010-11-29 15:17:59 -08:00
Aaron Patterson
f092ae544f make table aliases cheaper to allocate 2010-11-24 12:01:05 -08:00
Aaron Patterson
5cf6550ef4 adding table alias to the TableAlias node 2010-09-14 11:20:46 -07:00
Aaron Patterson
f0f6b7fb90 adding not equal node, column names are expected to be symbols 2010-09-10 16:58:19 -07:00
Aaron Patterson
6b851c686f joins can be created 2010-08-18 16:32:32 -07:00