aboutsummaryrefslogtreecommitdiffstats
path: root/test/nodes/test_sql_literal.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo in the sql literal spec for grouped "and" equalityCourtland Caldwell2015-03-231-1/+1
|
* fixing sql_literal testsAaron Patterson2014-04-081-5/+9
|
* add the casting node to the AST at build timeAaron Patterson2014-03-241-1/+1
| | | | | If we add the casting node to the ast at build time, then we can avoid doing the lookup at visit time.
* Add :encode_with for proper YAML serializationIvan Antropov2013-11-091-0/+8
|
* Add equality to ALL THE THINGS (that matter)Ernie Miller2012-08-181-0/+10
| | | | | | | | | | | | 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
* Make it the responsibility of the connection to hold on to a visitor for ↵Jon Leighton2011-08-081-10/+9
| | | | generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.)
* Refactor predication methods to be available to SqlLiterals as well.Ernie Miller2010-10-271-0/+24
|
* 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
|
* Fisting arel specs -- still needs tree_manager and cleanupRyan Davis2010-10-181-0/+28