aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/crud.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove `engine` from `TreeManager` and subclassesSean Griffin2014-11-291-3/+3
| | | | | | 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.
* explicitly pass the pk to compile_updateAaron Patterson2013-11-161-2/+2
|
* Remove deprecated calls to using `UpdateManager` without setting ↵Vipul A M2013-11-101-0/+1
| | | | `UpdateManager#key`
* Remove deprecated calls to `update` with preference to using ↵Vipul A M2013-11-101-13/+0
| | | | `compile_update` and then calling `to_sql` on the resulting object to execute the SQL
* Remove deprecated calls to `insert` with preference to using ↵Vipul A M2013-11-101-11/+0
| | | | `compile_insert` and then calling `to_sql` on the resulting object to execute the SQL
* Remove deprecated calls to `delete` with preference to using ↵Vipul A M2013-11-101-9/+0
| | | | `compile_delete` and then calling `to_sql` on the resulting object to execute the SQL
* ARel -> ArelXavier Noria2013-04-141-3/+3
| | | | | | | 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.
* bumping to 3.0.0Aaron Patterson2012-01-121-3/+3
|
* adding create_insert methodAaron Patterson2011-03-211-1/+5
|
* Merge branch '2-0-stable'Aaron Patterson2011-01-031-1/+1
|\ | | | | | | | | * 2-0-stable: making sure limit is correctly copied to update manager
| * making sure limit is correctly copied to update managerAaron Patterson2011-01-031-1/+1
| |
* | requiring that the primary key be set on the UpdateManager so that databases ↵Aaron Patterson2010-12-241-1/+1
| | | | | | | | which do not support UPDATE with LIMIT will work
* | only break backwards compatibility in major releasesAaron Patterson2010-12-031-3/+3
| |
* | deprecating the "delete" method in favor of compile_deleteAaron Patterson2010-12-021-2/+12
| |
* | deprecating the update method in favor of compile_updateAaron Patterson2010-12-021-2/+13
| |
* | deprecating "insert"Aaron Patterson2010-12-021-3/+13
|/
* renaming @head to @astAaron Patterson2010-11-051-2/+2
|
* making stuff work on mysqlAaron Patterson2010-09-211-10/+3
|
* from does not need to be a listAaron Patterson2010-09-201-2/+2
|
* adding an EXISTS node, update method will generate an IN clauseAaron Patterson2010-09-141-3/+14
|
* delete delegates to the connectionAaron Patterson2010-08-231-1/+1
|
* making sure update delegates to update and insert delegates to insertAaron Patterson2010-08-231-4/+3
|
* adding outer joinsAaron Patterson2010-08-191-0/+1
|
* delete manager addedAaron Patterson2010-08-181-0/+7
|
* fixing update supportAaron Patterson2010-08-181-1/+6
|
* adding deprecated crud module for backwards compatAaron Patterson2010-08-161-0/+21