aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/named_function.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add equality to ALL THE THINGS (that matter)Ernie Miller2012-08-181-0/+9
| | | | | | | | | | | | 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
* Include Arel::Predicates to Arel::Nodes::Function so you can do ↵Samuel Kadolph2011-05-271-2/+0
| | | | table[:id].count.eq(2)
* Chain predications off of named functionsDaniel Azuma2011-01-191-0/+2
|
* Added Arel::Nodes::NamedFunction for representing generic SQL functionsAaron Patterson2011-01-041-0/+12