aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/true.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove short circuit evaluation and leave AST as it isDaniel Cadenas2011-08-031-11/+0
|
* Add nodes for boolean constantsDaniel Cadenas2011-08-031-0/+17
This is useful for dynamically created predicates e.g: expr1 = table.create_false expr2 = table.create_false expr1 = create_a_predicate() if some_condition expr2 = create_another_predicate() if some_other_condition table.where(expr1.and(expr2))