aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_update_manager.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add order to BindParams in the ToSql collectorSean Griffin2014-11-171-1/+1
| | | | | | | | | | | | This removes the need for us to do the re-ordering by walking the AST in ActiveRecord. We're using a block to communicate with the collector, since the collector needs to be the thing which knows about the index, while the visitor is the thing that needs to know the syntax. The BindParam needs to know about neither of these things, so it's been changed to stop being a subclass of SqlLiteral I could also see an alternative implementation using format strings if for some reason blocks cause a problem.
* fix one deprecation warningAaron Patterson2013-10-141-0/+1
|
* Denied the quoting of SqlLiteralsNoemj2013-01-291-0/+8
|
* add UpdateManager#key method to access the keyJon Leighton2011-08-111-0/+16
|
* Support update statements containing joinsJon Leighton2011-08-081-0/+13
|
* making sure limit is correctly copied to update managerAaron Patterson2011-01-031-0/+9
|
* renaming test_helper to helper so that it is not double requiredAaron Patterson2010-10-181-1/+1
|
* Renamed spec_helper to test_helperRyan Davis2010-10-181-1/+1
|
* Removed TreeManagerShared and related tests. They suckedRyan Davis2010-10-181-13/+0
|
* Fisting arel specs -- still needs tree_manager and cleanupRyan Davis2010-10-181-0/+90