aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/predicate_builder.rb
Commit message (Expand)AuthorAgeFilesLines
* Allow symbols using "dot notation" to be passed to whereSean Griffin2016-04-121-4/+3
* Ensure associations still work when the table name contains a dotSean Griffin2016-03-311-1/+4
* Fixed `where` for polymorphic associations when passed an array containing di...Philippe Huibonhoa2016-02-161-4/+3
* Use bind parameters for ranges in where clausesSean Griffin2016-01-211-1/+19
* Fix `ActiveRecord::PredicateBuilder` docs. as `register_handler` no more Clas...amitkumarsuroliya2015-09-261-1/+1
* Reduce calls to stringify_keys.Guo Xiang Tan2015-09-071-2/+2
* Freeze string literals when not mutated.schneems2015-07-191-3/+3
* Revert "Merge pull request #19755 from yuki24/activerecord/support-for-set"Yves Senn2015-04-151-1/+0
* Add support for Set to Relation#whereYuki Nishijima2015-04-131-0/+1
* Remove Relation#bind_paramsSean Griffin2015-01-271-1/+1
* Use an `Attribute` object to represent a bind valueSean Griffin2015-01-271-2/+2
* Unify access to bind values on RelationSean Griffin2015-01-271-1/+1
* Expand the number of types which can use prepared statementsSean Griffin2015-01-241-3/+11
* Don't rely on relation mutability when building through associationsSean Griffin2015-01-241-18/+24
* Fix bind value copying from subqueried relationsSean Griffin2015-01-191-0/+2
* Move `create_binds` over to the `PredicateBuilder`Sean Griffin2015-01-191-2/+24
* Rely on the injectable type caster for `arel_table`Sean Griffin2014-12-291-1/+1
* Eagerly cast range values in the predicate builderSean Griffin2014-12-261-1/+1
* Perform casting of single values within the predicate builderSean Griffin2014-12-261-4/+4
* Remove `klass` and `arel_table` as a dependency of `PredicateBuilder`Sean Griffin2014-12-261-20/+8
* Refactor association handling in `PredicateBuilder`Sean Griffin2014-12-261-21/+4
* Re-use the predicate builder in the `ArrayHandler`Sean Griffin2014-12-261-5/+5
* Change `PredicateBuilder` handler methods to instance methodsSean Griffin2014-12-261-30/+25
* Deprecate `Class` handler in `PredicateBuilder`Melanie Gilman2014-12-041-3/+9
* Refactor `build_from_hash` to convert dot notation to hash firstMelanie Gilman2014-12-021-29/+34
* Refactor `PredicateBuilder` from singleton to instanceMelanie Gilman2014-12-021-14/+22
* Stop using `Arel::Table.engine`Sean Griffin2014-11-291-2/+2
* 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