aboutsummaryrefslogtreecommitdiffstats
path: root/test/support
Commit message (Collapse)AuthorAgeFilesLines
* Test quoting integers when comparing a string column with integers.Dylan Smith2014-04-281-3/+11
| | | | | | | | | | An equality with a string column and integer like SELECT * FROM `users` WHERE `login_token` = 0 LIMIT 1; will match match any string that doesn't start with a digit in certain databases, like mysql. Make sure we quote the integer to avoid this problem in a database independant way.
* add the casting node to the AST at build timeAaron Patterson2014-03-241-1/+5
| | | | | If we add the casting node to the ast at build time, then we can avoid doing the lookup at visit time.
* call the columns hash methodAaron Patterson2013-03-141-1/+5
|
* calling cache methods against the connectionAaron Patterson2011-11-191-3/+13
|
* Make it the responsibility of the connection to hold on to a visitor for ↵Jon Leighton2011-08-081-3/+4
| | | | generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.)
* cleaning up math operations on attributesAaron Patterson2011-03-071-2/+4
|
* Merge remote branch 'stiff/master' into omgAaron Patterson2011-03-071-2/+6
|\ | | | | | | | | * stiff/master: implemented support for math operations in numeric attributes
| * implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-291-2/+6
| |
* | use the cache mechanism in the connection pool rather than our own cacheAaron Patterson2011-02-071-1/+12
|/
* adding proper columns to our fake tableAaron Patterson2010-11-051-1/+3
|
* adding default limits when there is an offset for sqlite and mysql [#5316 ↵Aaron Patterson2010-10-201-1/+1
| | | | state:resolved]
* Fisting arel specs -- still needs tree_manager and cleanupRyan Davis2010-10-181-0/+89