aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Break Ordering into Ascending/Descending nodes, allow reversalErnie Miller2011-06-1515-30/+135
|
* Merge pull request #55 from samuelkadolph/add_predicates_to_function_nodeAaron Patterson2011-05-273-2/+10
|\ | | | | Include Arel::Predicates to Arel::Nodes::Function
| * Include Arel::Predicates to Arel::Nodes::Function so you can do ↵Samuel Kadolph2011-05-273-2/+10
|/ | | | table[:id].count.eq(2)
* updating specAaron Patterson2011-05-181-10/+10
|
* zomg prep releaseAaron Patterson2011-05-172-2/+2
|
* make sure thread runsAaron Patterson2011-05-171-0/+1
|
* do not cache sql literal valuesAaron Patterson2011-05-172-2/+3
|
* no longer use this instance variableAaron Patterson2011-05-171-1/+1
|
* refactoring to a methodAaron Patterson2011-05-101-3/+11
|
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-05-102-5/+21
|\ | | | | | | | | * 'master' of github.com:rails/arel: Make ToSql more thread safe.
| * Merge pull request #51 from square/thread-safetyAaron Patterson2011-05-102-5/+21
| |\ | | | | | | Make ToSql more thread safe.
| | * Make ToSql more thread safe.Damon McCormick + Cameron Walters2011-05-102-5/+21
| |/ | | | | | | | | | | | | Because the ToSql visitor instance is shared across all threads, there is a race condition around column types for binary nodes. It's possible, for instance, to end up with ActiveRecord converting a string value in the final SQL to an integer during heavy concurrent operations.
* / updating HistoryAaron Patterson2011-05-101-0/+7
|/
* Merge pull request #50 from ernie/operation_ordering.Aaron Patterson2011-05-022-0/+31
|\ | | | | InfixOperations should support ordering
| * InfixOperations are valid value expressions per SQL99 BNF, andErnie Miller2011-05-022-0/+31
|/ | | | should support ordering
* fixing specAaron Patterson2011-04-301-3/+3
|
* increasing version to 2.1.0Aaron Patterson2011-04-301-1/+1
|
* merging old history, adding release dateAaron Patterson2011-04-301-2/+20
|
* Merged pull request #48 from ernie/down_with_to_s.Aaron Patterson2011-04-294-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 Miller2011-04-294-7/+7
| |
* | updating manifest and specAaron Patterson2011-04-292-4/+8
|/
* Move #as to AliasPredication, stop overriding Function's #as.Ernie Miller2011-04-299-9/+33
|
* Revert "Merged pull request #40 from gmile/master."Aaron Patterson2011-04-291-11/+1
| | | | | This reverts commit 490d6f98f8974c717ddca29df162f5f1ad48e094, reversing changes made to dd07005dceb6641214f7d1166f75acbd379fb570.
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-04-294-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 Patterson2011-04-291-1/+11
| |\ | | | | | | Passing nil in array generates improper SQL
| | * Generate more sqlish queue.gmile2011-03-241-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 Patterson2011-04-293-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_dbShane Emmons2011-04-293-0/+41
| |/ /
* / / removing the aliased orders method from the pg visitorAaron Patterson2011-04-281-13/+0
|/ /
* | 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
| |