Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove joins method | Rafael Mendonça França | 2013-12-05 | 1 | -8/+0 |
| | |||||
* | Merge pull request #196 from vipulnsward/remove_deprecated | Rafael Mendonça França | 2013-11-09 | 1 | -21/+0 |
|\ | | | | | Remove deprecated | ||||
| * | Remove deprecated `Arel::Table#columns` with no replacement | Vipul A M | 2013-07-04 | 1 | -11/+0 |
| | | |||||
| * | Remove deprecated `Arel::Table.table_cache` with no replacement | Vipul A M | 2013-07-04 | 1 | -10/+0 |
| | | |||||
* | | Improve performance of #uniq across a large number of nodes | Sam | 2013-08-30 | 1 | -1/+4 |
|/ | |||||
* | ARel -> Arel | Xavier Noria | 2013-04-14 | 1 | -1/+1 |
| | | | | | | | The project uses "Arel" most of the time, but there were a few "ARel" here and there. I checked with @brynary back in 2010 to pick one for the Rails documentation guidelines and "Arel" was chosen and documented. This patch chooses "Arel" vs "ARel" based on that. | ||||
* | Add equality to ALL THE THINGS (that matter) | Ernie Miller | 2012-08-18 | 1 | -0/+13 |
| | | | | | | | | | | | | People are often trying to use ARel nodes inside ActiveRecord, and when they do so, lots of things can break, because ActiveRecord relies on Array#uniq and sometimes hash key equality to handle values that end up in wheres, havings, etc. By implementing equality for all the nodes, we should hopefully be able to prevent any nodes (even nodes containing other nodes) from failing an equality check they should otherwise pass, and alleviate many of these errors. Fixes #130 | ||||
* | bumping to 3.0.0 | Aaron Patterson | 2012-01-12 | 1 | -4/+4 |
| | |||||
* | fixing the leg order of TableAlias nodes | Aaron Patterson | 2011-03-30 | 1 | -1/+1 |
| | |||||
* | Add an #table_name method to Table and TableAlias, which always returns the ↵ | Jon Leighton | 2011-03-04 | 1 | -0/+3 |
| | | | | 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). | ||||
* | sql literals may be used as column attributes | Aaron Patterson | 2010-12-22 | 1 | -1/+1 |
| | |||||
* | adding a join source node | Aaron Patterson | 2010-12-14 | 1 | -1/+1 |
| | |||||
* | fixing deprecation notice | Aaron Patterson | 2010-12-13 | 1 | -2/+1 |
| | |||||
* | deprecating Arel::Table#primary_key | Aaron Patterson | 2010-12-13 | 1 | -0/+6 |
| | |||||
* | adding a join factory method on the select manager | Aaron Patterson | 2010-12-07 | 1 | -3/+4 |
| | |||||
* | only break backwards compatibility in major releases | Aaron Patterson | 2010-12-03 | 1 | -3/+3 |
| | |||||
* | declawing connection from the Table class | Aaron Patterson | 2010-12-03 | 1 | -10/+8 |
| | |||||
* | attributes do not need a column member | Aaron Patterson | 2010-12-03 | 1 | -6/+8 |
| | |||||
* | deprecating "insert" | Aaron Patterson | 2010-12-02 | 1 | -0/+4 |
| | |||||
* | deprecating the "joins" method | Aaron Patterson | 2010-11-30 | 1 | -0/+4 |
| | |||||
* | make table aliases cheaper to allocate | Aaron Patterson | 2010-11-24 | 1 | -2/+2 |
| | |||||
* | Fix a bit the initialization of Table | Ivan Ukhov | 2010-11-17 | 1 | -1/+1 |
| | |||||
* | Let table_exists? find tables in @@table_cache even if symbols are passed as ↵ | Ivan Ukhov | 2010-11-17 | 1 | -2/+2 |
| | | | | their names | ||||
* | adding default limits when there is an offset for sqlite and mysql [#5316 ↵ | Aaron Patterson | 2010-10-20 | 1 | -0/+4 |
| | | | | state:resolved] | ||||
* | Fisting arel specs -- still needs tree_manager and cleanup | Ryan Davis | 2010-10-18 | 1 | -5/+1 |
| | |||||
* | Created syntactic sugar Table(...) method | Snuggs | 2010-10-16 | 1 | -1/+5 |
| | |||||
* | refactoring join_sql to return nil if there are no sources | Aaron Patterson | 2010-09-28 | 1 | -11/+10 |
| | |||||
* | making select manager public | Aaron Patterson | 2010-09-28 | 1 | -1/+2 |
| | |||||
* | pass primary key name and value to ActiveRecord adapter insert method | Raimonds Simanovskis | 2010-09-28 | 1 | -1/+5 |
| | | | | necessary for Oracle adapter for RETURNING ... INTO ... clause generation | ||||
* | these readers should be accessors | Aaron Patterson | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | changing method name to be more clear | Aaron Patterson | 2010-09-27 | 1 | -11/+11 |
| | |||||
* | moving visitors around | Aaron Patterson | 2010-09-23 | 1 | -2/+2 |
| | |||||
* | ignoring alias | Aaron Patterson | 2010-09-23 | 1 | -1/+1 |
| | |||||
* | constructor can take column info | Aaron Patterson | 2010-09-21 | 1 | -8/+19 |
| | |||||
* | returning nil for tables that do not exist | Aaron Patterson | 2010-09-18 | 1 | -0/+16 |
| | |||||
* | Revert "Table#[] returns nil when table does not exist" | Aaron Patterson | 2010-09-15 | 1 | -2/+0 |
| | | | | This reverts commit e460aa96ae9bd5f1a24d798b2d22984a54810c70. | ||||
* | Table#[] returns nil when table does not exist | Aaron Patterson | 2010-09-15 | 1 | -0/+2 |
| | |||||
* | adding an EXISTS node, update method will generate an IN clause | Aaron Patterson | 2010-09-14 | 1 | -0/+5 |
| | |||||
* | using table_alias when :as is passed to the constructor | Aaron Patterson | 2010-09-12 | 1 | -0/+5 |
| | |||||
* | adding not equal node, column names are expected to be symbols | Aaron Patterson | 2010-09-10 | 1 | -2/+2 |
| | |||||
* | Table#join will noop when nil is passed | Aaron Patterson | 2010-09-09 | 1 | -0/+2 |
| | |||||
* | adding locking node to the AST | Aaron Patterson | 2010-09-08 | 1 | -0/+4 |
| | |||||
* | adding having nodes | Aaron Patterson | 2010-09-08 | 1 | -0/+4 |
| | |||||
* | visiting symbols in the SQL visitor | Aaron Patterson | 2010-09-08 | 1 | -1/+1 |
| | |||||
* | Table#project takes multiple parameters | Aaron Patterson | 2010-09-08 | 1 | -2/+2 |
| | |||||
* | adding group to Table | Aaron Patterson | 2010-09-07 | 1 | -0/+4 |
| | |||||
* | joins are starting to work better | Aaron Patterson | 2010-09-07 | 1 | -2/+2 |
| | |||||
* | adding joins method to Table | Aaron Patterson | 2010-09-07 | 1 | -0/+4 |
| | |||||
* | fixing warning | Aaron Patterson | 2010-09-06 | 1 | -1/+1 |
| | |||||
* | select manager responds to order | Aaron Patterson | 2010-09-06 | 1 | -0/+4 |
| |