aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
Commit message (Collapse)AuthorAgeFilesLines
...
* remove useless metaprogrammingAaron Patterson2010-07-201-1/+1
|
* use OO to avoid meta programmingAaron Patterson2010-07-201-6/+5
|
* classify is not needed, so removingAaron Patterson2010-07-201-2/+5
|
* CRUD is not being reused, so we should not expose itAaron Patterson2010-07-201-17/+14
|
* use Session.instance rather than Session.new for easier codeAaron Patterson2010-07-202-25/+9
|
* delegate and call cached connectionAaron Patterson2010-07-201-3/+4
|
* a short inspect is not helpfulAaron Patterson2010-07-201-4/+0
|
* use object id as the weak ref keyAaron Patterson2010-07-201-3/+4
|
* avoid shadowing a variableAaron Patterson2010-07-201-2/+2
|
* avoid double call to to_s, avoid present?Aaron Patterson2010-07-201-1/+5
|
* Use block_given? instead defining block.Emilio Tagua2010-06-241-2/+6
|
* Performance: use blocks only when needed.Emilio Tagua2010-06-241-2/+6
|
* Improve blocks usage.Emilio Tagua2010-06-245-6/+6
|
* Allow externally defined AR adapters to define their own compiler.Myron Marston2010-06-231-2/+8
|
* Speed up Header#each by avoiding &block creationJeremy Kemper2010-06-231-2/+2
|
* Don't use a subquery when there are joins. Use a required alias for the ↵Emilio Tagua2010-06-231-3/+4
| | | | subquery.
* Add support for counting rows with conditions or limit using a subquery.Emilio Tagua2010-06-231-6/+17
|
* fixed having clause for Oracle compilerRaimonds Simanovskis2010-06-191-2/+2
|
* use subquery to get first records if DISTINCT is used (in Oracle compiler)Raimonds Simanovskis2010-06-191-2/+2
|
* Bump version to 0.4.0Emilio Tagua2010-06-081-1/+1
|
* Remove unnecessary code since AS beta1 is out.Emilio Tagua2010-05-311-13/+0
|
* Merge branch 'master' of github.com:brynary/arelEmilio Tagua2010-05-2714-83/+83
|\
| * Whitespace fixesBryan Helmkamp2010-05-2614-83/+83
| |
* | Fix tests to work properly on Ruby 1.9, honor multiple calls to #order in ↵Ernie Miller2010-05-213-10/+14
|/ | | | memory engine, and make having clauses behave like where clauses in SQL engine (join with AND, allow multiple calls to having to add predicates)
* No longer define predications using metaprogramming.Ernie Miller2010-05-141-36/+116
|
* Removal of operator overridesErnie Miller2010-05-071-19/+1
|
* 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-076-15/+9
| | | | 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-077-51/+166
|
* Tests for notmatches and notin, and fixes for issues found in testsErnie Miller2010-05-073-11/+71
|
* Rename Attribute Not -> Inequality and add a Not predicate (complement)Ernie Miller2010-05-074-9/+26
|
* Cleaner support for Ranges with excluded end.Ernie Miller2010-05-071-0/+10
|
* Add grouped predicates (_any/_all) and refactored predication method definitionsErnie Miller2010-05-073-38/+78
|
* Added NotMatch and NotIn predicates, made Not derive from Equality (reverted ↵Ernie Miller2010-05-077-8/+48
| | | | later)
* Merge remote branch 'spastorino/master'Emilio Tagua2010-04-224-1/+15
|\
| * build expression not(nil) as IS NOT NULLSantiago Pastorino2010-04-214-1/+15
| |
* | 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-0211-35/+115
|/
* Handle ranges with excluded end.Emilio Tagua2010-03-291-1/+5
|
* Bump the version to 0.3.3Emilio Tagua2010-03-251-1/+1
|
* Use ActiveSupport beta since beta1 is not released yet. Added ↵Emilio Tagua2010-03-251-0/+13
| | | | singleton_class until beta1 is out.
* Bump the version to 0.3.2Emilio Tagua2010-03-251-2/+2
|
* Use adapter add_limit_offset! method when building query.Emilio Tagua2010-03-252-19/+5
|
* Restrictions should be able to contain multiple predicates.Carl Lerche2010-03-232-6/+6
|
* Cleanup the spec helper and spec rake task a bitCarl Lerche2010-03-231-1/+1
|
* Rake is a better build tool than Thor. Move the gem building and releasing ↵Carl Lerche2010-03-231-0/+3
| | | | tasks to the Rakefile.
* Switch Arel::Relation to a module. This will allow for classes with Relation ↵Carl Lerche2010-03-2213-16/+22
| | | | extended on them to represent relations themselves (as opposed to their instances being relations).
* Fix uninitialized ivar warningEmilio Tagua2010-03-221-0/+1
|