aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/where_clause.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Deprecate `where.not` working as NOR and will be changed to NAND in Rails 6.1Ryuta Kamizono2019-04-191-5/+9
* Fix eager loading polymorphic association with mixed table conditionsRyuta Kamizono2019-02-181-5/+1
* Arel: Implemented DB-aware NULL-safe comparison (#34451)Dmytro Shteflyuk2018-11-151-0/+4
* Fix `scope_for_create` to do not lose polymorphic associationsRyuta Kamizono2017-12-081-2/+16
* Edits following the reviewsMaxime Lapointe2017-07-281-6/+8
* Avoid duplicate clauses when using #orMaxime Lapointe2017-07-251-9/+16
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-60/+32
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Merge branch 'master' into fix_unscope_where_column_with_orSean Griffin2017-07-181-2/+2
|\
| * Fix `create_with` using both string and symbolRyuta Kamizono2017-07-161-2/+2
* | Bugfix: unscope(where: [columns]) would not remove the correct binds sometimesMaxime Lapointe2017-07-131-1/+2
|/
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Fix where_clause#except with specific where valueJohn Hawthorn2017-03-201-2/+2
* Merge pull request #27122 from kamipo/fix_unscope_with_subqueryRafael França2017-02-131-14/+26
|\
| * Refactor `except_predicates_and_binds` to avoid `tap`Ryuta Kamizono2017-02-131-12/+15
| * Fix unscope with subqueryRyuta Kamizono2016-12-051-10/+19
* | Describe what we are protectingAkira Matsuda2016-12-231-0/+2
|/
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-61/+61
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-2/+2
* Don't create new arrays when trying to compute non_empty_predicates for where...Vipul A M2016-04-181-1/+2
* Revert "Change `WhereClause#merge` to same named columns on diff tables"Sean Griffin2016-01-121-10/+11
* Change `WhereClause#merge` to same named columns on diff tablesSean Griffin2016-01-121-11/+10
* activerecord: reuse immutable objectsTamir Duberstein2016-01-041-1/+1
* Fix unscope for less thanTAKAHASHI Kazuaki2015-03-271-1/+1
* Post.all.or(anything) == Post.allSean Griffin2015-01-291-2/+2
* Bring the implementation of Relation#or up to speedSean Griffin2015-01-281-0/+13
* Use an `Attribute` object to represent a bind valueSean Griffin2015-01-271-4/+4
* `WhereClause#predicates` does not need to be publicSean Griffin2015-01-271-1/+3
* Move where grouping into `WhereClause`Sean Griffin2015-01-271-0/+25
* Change `having_values` to use the `WhereClause` classSean Griffin2015-01-261-1/+1
* Move `where_values_hash` over to `WhereClause`Sean Griffin2015-01-251-0/+22
* Move `where_unscoping` logic over to `WhereClause`Sean Griffin2015-01-251-0/+23
* Rename `WhereClause#parts` to `WhereClause#predicates`Sean Griffin2015-01-251-13/+13
* Move `where.not` logic into `WhereClause`Sean Griffin2015-01-251-0/+23
* Remove all references to `where_values` in association codeSean Griffin2015-01-251-0/+2
* Move where merging logic over to `WhereClause`Sean Griffin2015-01-251-1/+35
* Introduce `Relation::WhereClause`Sean Griffin2015-01-251-0/+29