aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/update_statement.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add equality to ALL THE THINGS (that matter)Ernie Miller2012-08-181-0/+15
| | | | | | | | | | | | 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
* requiring that the primary key be set on the UpdateManager so that databases ↵Aaron Patterson2010-12-241-2/+4
| | | | which do not support UPDATE with LIMIT will work
* adding ancestor testAaron Patterson2010-11-291-1/+1
|
* making stuff work on mysqlAaron Patterson2010-09-211-1/+3
|
* deep copies of statements aren't necessary. shallow copy the top-level arrays.Mike Dalessio2010-08-301-2/+2
|
* Statement nodes deep-copy AST nodesMike Dalessio2010-08-191-0/+6
|
* defaulting values to a listAaron Patterson2010-08-141-1/+1
|
* update manager is workingAaron Patterson2010-08-141-1/+2
|
* basic updates are workingAaron Patterson2010-08-141-0/+12