aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/predicate_builder.rb
Commit message (Expand)AuthorAgeFilesLines
* [Active Record] require => require_relativeAkira Matsuda2017-10-211-8/+8
* Treat `Set` as an `Array` in `Relation#where`Sean Griffin2017-09-261-0/+1
* Fix build failures on PGSean Griffin2017-07-241-0/+4
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-71/+13
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* [Active Record] require => require_relativeAkira Matsuda2017-07-011-8/+8
* Prevent making bind param if casted value is nilRyuta Kamizono2017-05-311-7/+12
* Avoid circular require due to autoloadMatthew Draper2017-05-261-9/+9
* Rename `association_query_handler.rb` to `association_query_value.rb`Ryuta Kamizono2017-04-151-8/+9
* `AssociationQueryValue#queries` returns an array for more concise association...Ryuta Kamizono2017-04-111-13/+6
* Convert `PolymorphicArrayValue` to PORO queriesRyuta Kamizono2017-04-091-3/+5
* Convert `AssociationQueryValue` to PORO queriesRyuta Kamizono2017-04-091-5/+23
* Always need to extract `value.bound_attributes` if `value.is_a?(Relation)`Ryuta Kamizono2017-03-251-3/+1
* Preprocess association query handling in predicate builderRyuta Kamizono2017-03-201-11/+8
* Remove deprecated support to passing a class as a value in a queryRafael Mendonça França2016-12-291-2/+0
* Describe what we are protectingAkira Matsuda2016-12-231-0/+2
* Revert "Extract `PredicateBuilder::CaseSensitiveHandler`"Sean Griffin2016-08-311-19/+9
* Merge pull request #26072 from kamipo/extract_case_sensitive_handlerRafael Mendonça França2016-08-171-9/+19
|\
| * Extract `PredicateBuilder::CaseSensitiveHandler`Ryuta Kamizono2016-08-161-9/+19
* | Do not handle as an associated predicate if a table has the columnRyuta Kamizono2016-08-161-2/+2
|/
* Merge pull request #26117 from kamipo/make_association_quary_to_preparable_step1Rafael Mendonça França2016-08-161-11/+11
|\
| * Make association queries to preparable: Step 1Ryuta Kamizono2016-08-111-11/+10
* | `where` by `array|range` attribute with array or range valueRyuta Kamizono2016-08-111-7/+11
|/
* Merge pull request #26076 from yui-knk/privatize_expandKasper Timm Hansen2016-08-071-10/+10
|\
| * `ActiveRecord::PredicateBuilder#expand` to be privateyui-knk2016-08-071-10/+10
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
|/
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-67/+67
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-9/+9
* Remove unused `predicate_builder` for `BasicObjectHandler` and `RangeHandler`Ryuta Kamizono2016-07-021-3/+3
* 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