aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra
Commit message (Collapse)AuthorAgeFilesLines
* noteq -> not_eq, notmatches -> not_matches, notin -> not_inErnie Miller2010-05-071-3/+3
|
* Inequality shouldn't descend from equality, due to Rails type checks, and ↵Ernie Miller2010-05-071-1/+7
| | | | resolve conflicts from rebase
* Alternate syntax for Predicate#and and Predicate#or, using & and |Ernie Miller2010-05-071-0/+8
|
* Support predicate complements and alternate not syntax (overload BasicObject#!)Ernie Miller2010-05-072-24/+124
|
* Tests for notmatches and notin, and fixes for issues found in testsErnie Miller2010-05-071-5/+18
|
* Rename Attribute Not -> Inequality and add a Not predicate (complement)Ernie Miller2010-05-072-2/+11
|
* Add grouped predicates (_any/_all) and refactored predication method definitionsErnie Miller2010-05-072-38/+60
|
* Added NotMatch and NotIn predicates, made Not derive from Equality (reverted ↵Ernie Miller2010-05-072-7/+17
| | | | later)
* Return nil when looking up an attribute by name that does not exist instead ↵Carl Lerche2010-04-031-8/+1
| | | | of returning a fictitious attribute.
* Remove commented out codeCarl Lerche2010-04-021-4/+0
|
* Create an Arel::Header class representing a relation's attributesCarl Lerche2010-04-027-27/+99
|
* Handle ranges with excluded end.Emilio Tagua2010-03-291-1/+5
|
* Use ActiveSupport beta since beta1 is not released yet. Added ↵Emilio Tagua2010-03-251-0/+13
| | | | singleton_class until beta1 is out.
* Restrictions should be able to contain multiple predicates.Carl Lerche2010-03-231-5/+5
|
* Switch Arel::Relation to a module. This will allow for classes with Relation ↵Carl Lerche2010-03-225-7/+11
| | | | extended on them to represent relations themselves (as opposed to their instances being relations).
* Fix uninitialized ivar warningEmilio Tagua2010-03-221-0/+1
|
* Add shared tests for skipCarl Lerche2010-03-121-1/+2
|
* Add full stack tests for #takeCarl Lerche2010-03-121-1/+2
|
* Support in memory ordering better.Carl Lerche2010-03-123-11/+21
|
* Add support for a NOT predicateCarl Lerche2010-03-122-0/+5
|
* Add a bunch of specs for attribute type casting.Carl Lerche2010-03-122-13/+11
|
* Attributes should be typedCarl Lerche2010-03-128-0/+102
|
* Merge branch 'master' of github.com:brynary/arelEmilio Tagua2010-03-121-0/+9
|\
| * Start writing integration specs for arel.Carl Lerche2010-03-111-0/+9
| |
* | Add accessibility to projections applied to the relation.Emilio Tagua2010-03-122-1/+2
|/
* Arel doesn't has to know if a table or column exists.Emilio Tagua2010-03-101-2/+3
|
* Make sure string join relations can be chainedPratik Naik2010-01-131-0/+4
|
* Add support for table aliasingPratik Naik2010-01-011-1/+1
| | | | | | | Example : users = Table(:users, :as => :accounts) users.to_sql => SELECT `accounts`.`id`, `accounts`.`name` FROM `users` AS `accounts`
* Attributes may be an Arel value which doesn't respond to aggregation?, don't ↵Emilio Tagua2009-12-291-1/+1
| | | | test them.
* Added having to use in combination with group to filter records.Emilio Tagua2009-12-284-2/+17
|
* Added lock to Arel, allowing a locking read if required.Emilio Tagua2009-12-274-1/+19
|
* Added "from" method, allowing to specify custom from clauses.Emilio Tagua2009-12-274-2/+10
|
* Pull primitives up one levelBryan Helmkamp2009-09-305-5/+0
|
* Create Predicates module to match directory structureBryan Helmkamp2009-09-302-37/+39
|
* Move extensions directories to core_extensionsBryan Helmkamp2009-09-306-4/+4
|
* Fix almost all Ruby warnings during spec suiteBryan Helmkamp2009-09-201-1/+1
|
* WhitespaceBryan Helmkamp2009-09-205-5/+5
|
* Accept Arel::Value in hash values and treat them properly.Emilio Tagua2009-08-141-1/+1
|
* Better inspect output for ExpressionsBryan Helmkamp2009-05-181-0/+4
|
* Removing unused Pathname extensionBryan Helmkamp2009-05-181-9/+0
|
* Expand usages of #hash_on. The #hash definition it produces looks broken, ↵Bryan Helmkamp2009-05-183-13/+18
| | | | but leaving it for now
* Removing Object#metaclass definition (it's already in ActiveSupport)Bryan Helmkamp2009-05-171-6/+0
|
* Fix bug in Order equality where Descending.new(attribute) was == ↵Bryan Helmkamp2009-05-171-4/+9
| | | | Ascending.new(attribute)
* Removing two unused externalizable? methodsBryan Helmkamp2009-05-172-8/+0
|
* Removing unused array extensionsBryan Helmkamp2009-05-172-18/+0
|
* Include modules to extend core classes to improve inspectabilityBryan Helmkamp2009-05-176-63/+88
|
* WhitespaceBryan Helmkamp2009-05-1718-41/+41
|
* joining across engines in either directionBryan Helmkamp2009-05-171-1/+9
| | | | | | Conflicts: spec/arel/engines/memory/integration/joins/cross_engine_spec.rb
* initial implementation of cross-engine joinBryan Helmkamp2009-05-171-2/+3
| | | | | | | Conflicts: lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/primitives.rb
* basic implementation of in memory insertionsBryan Helmkamp2009-05-171-1/+1
| | | | | | Conflicts: lib/arel/engines/memory/relations.rb