aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/predicate_builder.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* arel can escape the id, so avoid using the database connectionAaron Patterson2010-12-221-1/+1
|
* Arel::Table#[] always returns an attribute, so no need for ||Aaron Patterson2010-12-221-1/+1
|
* to_sym stuff before passing it to arelAaron Patterson2010-12-221-1/+1
|
* just wrap as a sql literalAaron Patterson2010-11-231-2/+1
|
* Do not send id for quoting twice if the primary key is string.Neeraj Singh2010-11-231-1/+2
| | | | [#6022 state:resolved]
* support finding by a ruby class [#5979 state:resolved]Aaron Patterson2010-11-151-0/+3
|
* use quoted id of single AR::Base objects in predicatesAaron Patterson2010-11-151-0/+2
|
* avoid creating objects when we canAaron Patterson2010-10-031-11/+5
|
* passing the quoted id to arel if the object has a quoted idAaron Patterson2010-09-101-1/+3
|
* No need to check if the attribute exists (this is the same behavior as in ↵José Valim2010-06-291-3/+1
| | | | 2.3) [#4994 state:resolved] and [#5003 state:resolved]
* Fix small bug where ActiveRecord::PredicateBuilder#build_from_hash didn't ↵James Harton2010-06-221-1/+1
| | | | | | test for Arel::Relation as right hand value. [#4917 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Raise a StatementInvalid error when trying to build a condition with hash ↵Carl Lerche2010-04-031-1/+3
| | | | keys that do not correspond to columns.
* Goodbye ActiveRecord::NamedScope::ScopePratik Naik2010-04-021-1/+1
|
* Arel now handles ranges with excluded end.Emilio Tagua2010-03-291-6/+1
|
* Arel now fallback to using Arel::Attribute if the table/column doesn't exists.Emilio Tagua2010-03-101-3/+1
| | | | | | [#4142 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix scope loading issue when the table doesn't existPratik Naik2010-03-101-1/+3
|
* Rely on arel to generate the correct sql when an empty array is supplied to ↵Pratik Naik2010-01-301-1/+1
| | | | IN predicate
* Handle invalid query IN() generated when a blank array is supplied in hash ↵Pratik Naik2010-01-181-1/+2
| | | | conditions
* Inherit named scope class Scope from RelationPratik Naik2010-01-181-1/+1
|
* Rename Model.arel_table to Model.active_relationPratik Naik2010-01-021-5/+5
|
* Handle Range with excluded endPratik Naik2010-01-011-1/+8
|
* Try using cached attribute before creating a new onePratik Naik2010-01-011-1/+1
|
* Use PredicateBuilder for sql hash sanitizationPratik Naik2010-01-011-2/+4
|
* Fix the method name for recusionPratik Naik2010-01-011-1/+1
|
* Move predicate building to a stand alone PredicateBuilder classPratik Naik2010-01-011-0/+36