aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/predicate_builder.rb
Commit message (Expand)AuthorAgeFilesLines
* Use `#between`, rather than `#in` for passing Ranges to ArelSean Griffin2014-10-301-1/+1
* No need to call to_sym hereGodfrey Chan2014-09-201-2/+2
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-2/+2
* Give real privacy to class methods in AR::PredicateBuilderHector Satre2014-05-011-7/+8
* Better support for `where()` conditions that use an association name.Martin Emde2013-12-161-3/+15
* check class hierarchy with is_a? in PredicateBuilder.expandMikhail Dieterle2013-08-271-1/+1
* Add ability to specify how a class is converted to Arel predicatesgrif2013-07-281-35/+32
* resolve aliases before passing the hash to the predicate builderAaron Patterson2013-07-021-4/+10
* we don't need to to_s the columnAaron Patterson2013-07-011-1/+1
* the data structure used to store attribute aliases should not be exposedAaron Patterson2013-07-011-2/+2
* Handle aliased attributes in ActiveRecord::Relation.Godfrey Chan2013-05-011-0/+4
* stop calling to_sym when building arel nodes [CVE-2013-1854]Aaron Patterson2013-03-151-1/+1
* Revert "Merge pull request #9207 from dylanahsmith/mysql-quote-numeric"Steve Klabnik2013-02-271-5/+0
* Use IN operator like arel for empty hash in where clauserobertomiranda2013-02-091-1/+1
* Reverting e170014113 (Change behaviour with empty hash in where clause)Guillermo Iguaran2013-02-081-1/+1
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-2/+0
* Change behaviour with empty array in where clauserobertomiranda2013-02-081-0/+2
* Change behaviour with empty hash in where clauserobertomiranda2013-02-081-1/+1
* active_record: Quote numeric values compared to string columns.Dylan Smith2013-02-071-0/+5
* reduce the number of queries on IN clauses, fix relation queries in `where`Aaron Patterson2013-01-241-1/+1
* stop converting strings to symbolsAaron Patterson2013-01-241-1/+1
* Refactor predicate builder when receiving empty hashCarlos Antonio da Silva2013-01-171-4/+4
* 1.9 Syntax related changesAvnerCohen2012-11-101-2/+2
* Remove ActiveRecord::ModelJon Leighton2012-10-261-3/+3
* rename AR::Model::Tag to AR::Tag - fixes #7714Francesco Rodriguez2012-09-201-1/+1
* fix querying with an empty hashDamien Mathieu2012-09-191-2/+6
* Pass in the model class rather than engineJon Leighton2012-09-131-5/+5
* Refactor to remove some duplicationJon Leighton2012-09-121-37/+20
* Fix nested association referencesJon Leighton2012-09-121-3/+4
* Accept belongs_to assoc. keys in ActiveRecord queriesbeerlington2012-09-111-4/+48
* Remove conditional committed by accidentSantiago Pastorino2012-06-091-1/+1
* Use each_with_object instead of each hereSantiago Pastorino2012-06-091-1/+1
* predicate builder should not recurse for determining where columns.Aaron Patterson2012-05-301-1/+1
* CollectionProxy < RelationJon Leighton2012-05-111-3/+3
* Remove Arel::Relation constant from PredicateBuilder.Juanjo Bazán2012-03-271-2/+2
* Refactor and cleanup in some ActiveRecord modulesCarlos Antonio da Silva2012-03-031-14/+13
* automatically add references when we canJon Leighton2012-01-161-0/+12
* refactor AR::PredicateBuilder.build_from_hashAkira Matsuda2011-12-291-35/+37
* where(foo: [1, nil]) becomes "WHERE foo = 1 OR foo IS NULL"Akira Matsuda2011-12-281-1/+4
* no need to compact an already compacted ArrayAkira Matsuda2011-12-281-1/+1
* Make PredicateBuilder recognise AR::ModelJon Leighton2011-12-241-2/+2
* pushing caching and visitors down to the connectionAaron Patterson2011-11-191-1/+1
* Fixes issue #3483, regarding using a mixture of ranges and discrete values in...Ryan Naughton2011-11-141-6/+8
* Fix PredicateBuilder clobbering select_values in subquery.Ernie Miller2011-08-201-1/+1
* Fix assumption of primary key name in PredicateBuilder subquery.Ernie Miller2011-08-201-1/+1
* supporting nil when passed in as an IN clauseAaron Patterson2011-04-291-1/+12
* use Arel::Table#alias rather than passing the :as parameterAaron Patterson2011-03-051-2/+2
* Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-1/+1
* use the arel table rather than generating stringsAaron Patterson2011-02-161-1/+1
* no need for Array.wrapAaron Patterson2011-02-161-1/+1