Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow a type caster to be given to the `Arel::Table` object | Sean Griffin | 2014-12-29 | 1 | -0/+8 |
| | | | | | | | | | This will allow most consuming code to avoid the deprecation introduced in 008445d6fd5f825d9b445ac75a7be67f0f7ab52c. The only code which will be affected is code that is building the `Arel::Table` object manually, rather than calling `arel_table` on an Active Record class. Hopefully this case will be rare enough that we don't need to introduce any additional APIs to work around it. | ||||
* | Remove `engine` from `TreeManager` and subclasses | Sean Griffin | 2014-11-29 | 1 | -4/+0 |
| | | | | | | This constructor parameter was unused for everything except the convenience methods `to_sql` and `where_sql`. We can pass the engine into those methods directly. | ||||
* | Add Nodes::TableAlias#engine | Jon Leighton | 2012-07-13 | 1 | -0/+4 |
| | | | | | Eventually #engine should go away, but until that time, this means that Table and Nodes::TableAlias can be used more interchangeably. | ||||
* | Allow using non-table alias as a rhs relation name, fix for #84 and #59 | JoelJuliano | 2011-10-30 | 1 | -1/+1 |
| | |||||
* | fixing the leg order of TableAlias nodes | Aaron Patterson | 2011-03-30 | 1 | -2/+2 |
| | |||||
* | Add an #table_name method to Table and TableAlias, which always returns the ↵ | Jon Leighton | 2011-03-04 | 1 | -0/+4 |
| | | | | 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). | ||||
* | adding factory methods to node base class | Aaron Patterson | 2010-12-14 | 1 | -1/+1 |
| | |||||
* | updating nodes and depth first visitor | Aaron Patterson | 2010-11-29 | 1 | -7/+3 |
| | |||||
* | make table aliases cheaper to allocate | Aaron Patterson | 2010-11-24 | 1 | -6/+2 |
| | |||||
* | adding table alias to the TableAlias node | Aaron Patterson | 2010-09-14 | 1 | -0/+1 |
| | |||||
* | adding not equal node, column names are expected to be symbols | Aaron Patterson | 2010-09-10 | 1 | -1/+1 |
| | |||||
* | joins can be created | Aaron Patterson | 2010-08-18 | 1 | -0/+20 |