Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add order to BindParams in the ToSql collector | Sean Griffin | 2014-11-17 | 1 | -3/+0 |
| | | | | | | | | | | | | 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. | ||||
* | Add :encode_with for proper YAML serialization | Ivan Antropov | 2013-11-09 | 1 | -0/+4 |
| | |||||
* | bind parameters can be differentiated from sql literals | Aaron Patterson | 2012-02-20 | 1 | -0/+3 |
| | |||||
* | Move #as to AliasPredication, stop overriding Function's #as. | Ernie Miller | 2011-04-29 | 1 | -0/+1 |
| | |||||
* | Add support for ordering on expressions | Arthur Taylor | 2011-04-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb lib/arel/nodes/infix_operation.rb lib/arel/nodes/named_function.rb Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb | ||||
* | Refactor predication methods to be available to SqlLiterals as well. | Ernie Miller | 2010-10-27 | 1 | -0/+1 |
| | |||||
* | refactoring expressions to a module | Aaron Patterson | 2010-09-14 | 1 | -11/+1 |
| | |||||
* | adding sum to sql literal | Aaron Patterson | 2010-09-14 | 1 | -0/+4 |
| | |||||
* | Add maximum to SqlLiteral. | Emilio Tagua | 2010-09-11 | 1 | -0/+4 |
| | |||||
* | adding count nodes | Aaron Patterson | 2010-08-23 | 1 | -0/+3 |
| | |||||
* | project works with strings | Aaron Patterson | 2010-08-13 | 1 | -6/+1 |
| | |||||
* | adding some deprecated classes | Aaron Patterson | 2010-08-12 | 1 | -0/+11 |