Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merged pull request #48 from ernie/down_with_to_s. | Aaron Patterson | 2011-04-29 | 4 | -7/+7 | |
|\ | | | | | Stop calling to_s on aliases, require them to be strings already. | |||||
| * | Stop calling to_s on aliases, require them to be strings already. | Ernie Miller | 2011-04-29 | 4 | -7/+7 | |
| | | ||||||
* | | updating manifest and spec | Aaron Patterson | 2011-04-29 | 2 | -4/+8 | |
|/ | ||||||
* | Move #as to AliasPredication, stop overriding Function's #as. | Ernie Miller | 2011-04-29 | 9 | -9/+33 | |
| | ||||||
* | Revert "Merged pull request #40 from gmile/master." | Aaron Patterson | 2011-04-29 | 1 | -11/+1 | |
| | | | | | This reverts commit 490d6f98f8974c717ddca29df162f5f1ad48e094, reversing changes made to dd07005dceb6641214f7d1166f75acbd379fb570. | |||||
* | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-04-29 | 4 | -1/+52 | |
|\ | | | | | | | | | | | * 'master' of github.com:rails/arel: replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db Generate more sqlish queue. | |||||
| * | Merged pull request #40 from gmile/master. | Aaron Patterson | 2011-04-29 | 1 | -1/+11 | |
| |\ | | | | | | | Passing nil in array generates improper SQL | |||||
| | * | Generate more sqlish queue. | gmile | 2011-03-24 | 1 | -1/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Now, instead of the following SQL code: some_field IN (1, 2, NULL) Arel will generate the proper one: some_field IN (1, 2) OR IS NULL | |||||
| * | | Merged pull request #46 from semmons99/master. | Aaron Patterson | 2011-04-29 | 3 | -0/+41 | |
| |\ \ | | | | | | | | | replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db | |||||
| | * | | replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db | Shane Emmons | 2011-04-29 | 3 | -0/+41 | |
| |/ / | ||||||
* / / | removing the aliased orders method from the pg visitor | Aaron Patterson | 2011-04-28 | 1 | -13/+0 | |
|/ / | ||||||
* | | updating manifest and gemspec | Aaron Patterson | 2011-04-28 | 3 | -17/+22 | |
| | | ||||||
* | | Merged pull request #45 from codders/master. | Aaron Patterson | 2011-04-28 | 9 | -9/+43 | |
|\ \ | | | | | | | Add support for specifying order direction on expressions | |||||
| * \ | Merge remote-tracking branch 'origin/master' | Arthur Taylor | 2011-04-28 | 0 | -0/+0 | |
| |\ \ | ||||||
| | * | | Fixed deep copy bug in SelectManager clone | Arthur Taylor | 2011-04-15 | 2 | -0/+15 | |
| | | | | ||||||
| * | | | Updated manifest, gemspec | Arthur Taylor | 2011-04-28 | 2 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arel.gemspec | |||||
| * | | | Add support for ordering on expressions | Arthur Taylor | 2011-04-28 | 7 | -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 Patterson | 2011-04-27 | 1 | -2/+2 | |
|\ \ \ | | | | | | | | | 1st README example | |||||
| * | | | Fixed first example in README (it was attempting to call #to_sql on an ↵ | Chris Berkhout | 2011-04-27 | 1 | -2/+2 | |
|/ / / | | | | | | | | | | Arel::Table). | |||||
* | | | adding attribute#lower for lowercasing an attribute | Aaron Patterson | 2011-04-25 | 2 | -0/+14 | |
| | | | ||||||
* | | | add a factory method for production LOWER functions | Aaron Patterson | 2011-04-25 | 2 | -0/+13 | |
| | | | ||||||
* | | | raising not implemented exceptions for distinct on where it is not supported | Aaron Patterson | 2011-04-21 | 2 | -0/+15 | |
| | | | ||||||
* | | | adding Distinct ON node | Aaron Patterson | 2011-04-21 | 8 | -36/+29 | |
| | | | ||||||
* | | | adding a DISTINCT node | Aaron Patterson | 2011-04-21 | 4 | -21/+44 | |
| | | | ||||||
* | | | adding a spec to demonstrate subqueries | Aaron Patterson | 2011-04-18 | 1 | -0/+12 | |
| | | | ||||||
* | | | fixing Table tests | Aaron Patterson | 2011-04-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fixed deep copy bug in SelectManager clone | Arthur Taylor | 2011-04-19 | 2 | -0/+15 | |
| | | | ||||||
* | | | Improve performance of grouping_any/grouping_all | Ernie Miller | 2011-04-19 | 1 | -11/+4 | |
|/ / | ||||||
* | | deprecating SelectManager#wheres method | Aaron Patterson | 2011-04-11 | 2 | -0/+4 | |
| | | ||||||
* | | adding a Bin node to emit mysql BINARY keywords | Aaron Patterson | 2011-04-11 | 4 | -0/+32 | |
| | | ||||||
* | | updating the readme a little | Aaron Patterson | 2011-04-11 | 1 | -1/+8 | |
| | | ||||||
* | | use TableAlias nodes for aliasing subselects | Aaron Patterson | 2011-03-30 | 4 | -3/+7 | |
| | | ||||||
* | | fixing the leg order of TableAlias nodes | Aaron Patterson | 2011-03-30 | 3 | -3/+4 | |
| | | ||||||
* | | Make SelectManager#as act like node predications | John Mileham | 2011-03-25 | 2 | -4/+20 | |
|/ | ||||||
* | supporting any node in SelectManager#from | Aaron Patterson | 2011-03-23 | 2 | -2/+23 | |
| | ||||||
* | allowing sql literals for values in insert statements | Aaron Patterson | 2011-03-21 | 3 | -1/+15 | |
| | ||||||
* | added a factory method for creating values nodes | Aaron Patterson | 2011-03-21 | 2 | -1/+15 | |
| | ||||||
* | adding create_insert method | Aaron Patterson | 2011-03-21 | 3 | -1/+12 | |
| | ||||||
* | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-03-21 | 8 | -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 SqlLiteral | Ernie Miller | 2011-03-12 | 2 | -1/+7 | |
| | | ||||||
| * | Replace MathOperation with InfixOperation to support more operators | Ernie Miller | 2011-03-09 | 6 | -32/+61 | |
| | | ||||||
* | | Fixes rails bug #6058. | Hugo Peixoto | 2011-03-21 | 2 | -0/+15 | |
| | | | | | | | | Propagates 'where' clauses when subquerying is triggered on the UpdateManager. | |||||
* | | zenspider says we do not need these lines | Aaron Patterson | 2011-03-11 | 1 | -2/+0 | |
|/ | ||||||
* | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-03-07 | 5 | -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 Leighton | 2011-03-04 | 5 | -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 attributes | Aaron Patterson | 2011-03-07 | 5 | -14/+13 | |
| | | ||||||
* | | Merge remote branch 'stiff/master' into omg | Aaron Patterson | 2011-03-07 | 9 | -5/+106 | |
|\ \ | |/ |/| | | | | | * stiff/master: implemented support for math operations in numeric attributes | |||||
| * | implemented support for math operations in numeric attributes | Vladimir Meremyanin | 2011-01-29 | 9 | -5/+106 | |
| | | ||||||
* | | assinging nil to an offset will remove the offset from the AST | Aaron Patterson | 2011-02-25 | 3 | -1/+39 | |
| | | ||||||
* | | Adding SelectManager#limit= and removing limit nodes when nil is assigned to ↵ | Aaron Patterson | 2011-02-25 | 3 | -2/+19 | |
| | | | | | | | | limit |