aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* updating manifest and gemspecAaron Patterson2011-04-283-17/+22
|
* Merged pull request #45 from codders/master.Aaron Patterson2011-04-289-9/+43
|\ | | | | Add support for specifying order direction on expressions
| * Merge remote-tracking branch 'origin/master'Arthur Taylor2011-04-280-0/+0
| |\
| | * Fixed deep copy bug in SelectManager cloneArthur Taylor2011-04-152-0/+15
| | |
| * | Updated manifest, gemspecArthur Taylor2011-04-282-1/+2
| | | | | | | | | | | | | | | | | | Conflicts: arel.gemspec
| * | Add support for ordering on expressionsArthur Taylor2011-04-287-8/+41
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merged pull request #44 from chrisberkhout/master.Aaron Patterson2011-04-271-2/+2
|\ \ | | | | | | 1st README example
| * | Fixed first example in README (it was attempting to call #to_sql on an ↵Chris Berkhout2011-04-271-2/+2
|/ / | | | | | | Arel::Table).
* | adding attribute#lower for lowercasing an attributeAaron Patterson2011-04-252-0/+14
| |
* | add a factory method for production LOWER functionsAaron Patterson2011-04-252-0/+13
| |
* | raising not implemented exceptions for distinct on where it is not supportedAaron Patterson2011-04-212-0/+15
| |
* | adding Distinct ON nodeAaron Patterson2011-04-218-36/+29
| |
* | adding a DISTINCT nodeAaron Patterson2011-04-214-21/+44
| |
* | adding a spec to demonstrate subqueriesAaron Patterson2011-04-181-0/+12
| |
* | fixing Table testsAaron Patterson2011-04-181-1/+1
| |
* | Fixed deep copy bug in SelectManager cloneArthur Taylor2011-04-192-0/+15
| |
* | Improve performance of grouping_any/grouping_allErnie Miller2011-04-191-11/+4
|/
* deprecating SelectManager#wheres methodAaron Patterson2011-04-112-0/+4
|
* adding a Bin node to emit mysql BINARY keywordsAaron Patterson2011-04-114-0/+32
|
* updating the readme a littleAaron Patterson2011-04-111-1/+8
|
* use TableAlias nodes for aliasing subselectsAaron Patterson2011-03-304-3/+7
|
* fixing the leg order of TableAlias nodesAaron Patterson2011-03-303-3/+4
|
* Make SelectManager#as act like node predicationsJohn Mileham2011-03-252-4/+20
|
* supporting any node in SelectManager#fromAaron Patterson2011-03-232-2/+23
|
* allowing sql literals for values in insert statementsAaron Patterson2011-03-213-1/+15
|
* added a factory method for creating values nodesAaron Patterson2011-03-212-1/+15
|
* adding create_insert methodAaron Patterson2011-03-213-1/+12
|
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-03-218-33/+68
|\ | | | | | | | | | | * 'master' of github.com:rails/arel: Make as factory method convert alias name to SqlLiteral Replace MathOperation with InfixOperation to support more operators
| * Make as factory method convert alias name to SqlLiteralErnie Miller2011-03-122-1/+7
| |
| * Replace MathOperation with InfixOperation to support more operatorsErnie Miller2011-03-096-32/+61
| |
* | Fixes rails bug #6058.Hugo Peixoto2011-03-212-0/+15
| | | | | | | | Propagates 'where' clauses when subquerying is triggered on the UpdateManager.
* | zenspider says we do not need these linesAaron Patterson2011-03-111-2/+0
|/
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-03-075-1/+21
|\ | | | | | | | | * 'master' of github.com:rails/arel: Add an #table_name method to Table and TableAlias, which always returns the actual table name, not the alias. Then fix ToSql#column_for to use this table name when checking whether the table exists (rather than before, where it was checking whether a table with the alias name exists, which was incorrect).
| * Add an #table_name method to Table and TableAlias, which always returns the ↵Jon Leighton2011-03-045-1/+21
| | | | | | | | actual table name, not the alias. Then fix ToSql#column_for to use this table name when checking whether the table exists (rather than before, where it was checking whether a table with the alias name exists, which was incorrect).
* | cleaning up math operations on attributesAaron Patterson2011-03-075-14/+13
| |
* | Merge remote branch 'stiff/master' into omgAaron Patterson2011-03-079-5/+106
|\ \ | |/ |/| | | | | * stiff/master: implemented support for math operations in numeric attributes
| * implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-299-5/+106
| |
* | assinging nil to an offset will remove the offset from the ASTAaron Patterson2011-02-253-1/+39
| |
* | Adding SelectManager#limit= and removing limit nodes when nil is assigned to ↵Aaron Patterson2011-02-253-2/+19
| | | | | | | | limit
* | one more spec updateAaron Patterson2011-02-241-2/+2
| |
* | updating gemspec and manifestAaron Patterson2011-02-242-9/+7
| |
* | refactoring custom lock logic to use sql literalsAaron Patterson2011-02-215-17/+15
| |
* | Lock should be a unary nodeAaron Patterson2011-02-218-18/+8
| |
* | Merge remote branch 'jstorimer/master' into omgAaron Patterson2011-02-216-12/+38
|\ \ | | | | | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used
| * | Allow database specific locking clauses to be usedJesse Storimer2011-01-206-12/+38
| | |
* | | adding failing tests for rails #6384Aaron Patterson2011-02-211-0/+18
| | |
* | | Fix #not to stop wrapping in a grouping nodeErnie Miller2011-02-112-8/+5
| | |
* | | Fix modification of input on *_any/*_all predicationsErnie Miller2011-02-082-0/+18
| | |
* | | use the cache mechanism in the connection pool rather than our own cacheAaron Patterson2011-02-073-29/+19
| | |
* | | Merge branch 'named-function-predicates'Aaron Patterson2011-02-022-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | * named-function-predicates: Test for NamedFunction predication chaining Chain predications off of named functions