aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/attributes
Commit message (Collapse)AuthorAgeFilesLines
* Allow a type caster to be given to the `Arel::Table` objectSean Griffin2014-12-291-0/+8
| | | | | | | | | This will allow most consuming code to avoid the deprecation introduced in 008445d6fd5f825d9b445ac75a7be67f0f7ab52c. The only code which will be affected is code that is building the `Arel::Table` object manually, rather than calling `arel_table` on an Active Record class. Hopefully this case will be rare enough that we don't need to introduce any additional APIs to work around it.
* Move #as to AliasPredication, stop overriding Function's #as.Ernie Miller2011-04-291-0/+1
|
* Add support for ordering on expressionsArthur Taylor2011-04-281-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
* adding attribute#lower for lowercasing an attributeAaron Patterson2011-04-251-0/+6
|
* cleaning up math operations on attributesAaron Patterson2011-03-071-6/+3
|
* implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-291-3/+7
|
* attributes do not need a column memberAaron Patterson2010-12-031-1/+1
|
* returning undefined for unknown column typesAaron Patterson2010-11-161-6/+7
|
* Refactor predication methods to be available to SqlLiterals as well.Ernie Miller2010-10-271-174/+1
|
* Support Attribute#asc and Attribute#desc to create orderingsErnie Miller2010-09-291-0/+8
|
* Add support for remaining *_any/*_all attribute methods, and add ↵Ernie Miller2010-09-291-4/+129
| | | | matches/does_not_match/not_in
* Add eq_any.Ernie Miller2010-09-291-0/+8
|
* supporting ranges for IN statementsAaron Patterson2010-09-201-3/+13
|
* adding crazy code to fix the last two AR testsAaron Patterson2010-09-201-0/+3
|
* refactoring expressions to a moduleAaron Patterson2010-09-141-20/+2
|
* Add Min node.Emilio Tagua2010-09-111-0/+4
|
* adding not equal node, column names are expected to be symbolsAaron Patterson2010-09-101-0/+4
|
* added a greater than nodeAaron Patterson2010-09-101-0/+4
|
* added greater than or equal to nodeAaron Patterson2010-09-101-0/+4
|
* average node is addedAaron Patterson2010-09-081-0/+4
|
* adding maximum nodesAaron Patterson2010-09-081-0/+4
|
* adding a sum nodeAaron Patterson2010-09-081-0/+4
|
* count takes distinctAaron Patterson2010-09-071-2/+2
|
* adding "as" and to_sql to count nodesAaron Patterson2010-09-071-0/+6
|
* spec:v1:sqlite3 works for running our specsAaron Patterson2010-08-161-0/+4
|
* adding first nodeAaron Patterson2010-08-121-3/+6
|
* tables can fetch attributesAaron Patterson2010-08-121-0/+13