aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Convert over the rest of the whitelist referencesKevin Deisz2018-08-242-3/+3
* Fix merging relation that order including `?`Ryuta Kamizono2018-08-211-2/+2
* Use `Array#extract!` where possiblebogdanvlviv2018-08-141-2/+4
* Revert "Merge pull request #24131 from brchristian/limit_and_primary_key"Ryuta Kamizono2018-08-011-1/+1
* Extract `Relation#bind_attribute` for internal useRyuta Kamizono2018-07-301-8/+5
* Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into StringBart de Water2018-07-281-1/+1
* Enable Start/EndWith and RegexpMatch copsBart de Water2018-07-281-1/+1
* don't impose primary key order if limit() is definedBrian Christian2018-07-191-1/+1
* Revert "Short circuit the scoping delegation for `relation.all`"Ryuta Kamizono2018-07-191-1/+0
* Use `construct_join_dependency` in all placesRyuta Kamizono2018-07-033-13/+6
* Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-193-16/+12
* Fix GROUP BY queries to apply LIMIT/OFFSET after aggregationsRyuta Kamizono2018-06-071-1/+1
* Fix force equality checking not to break the serialized attribute with ArrayRyuta Kamizono2018-06-061-1/+0
* Make force equality checking more strictly not to allow serialized attributeRyuta Kamizono2018-05-251-5/+7
* `get_value` needs to be a public methodGraham Turner2018-04-251-4/+5
* Fix relation merging with skip_query_cache!James Williams2018-04-191-2/+2
* Merge pull request #32355 from kamipo/delegate_to_klass_in_a_scopeRafael França2018-04-061-0/+5
|\
| * Deprecate accessibility of private/protected class methods in named scopeRyuta Kamizono2018-03-301-2/+4
| * Bring back private class methods accessibility in named scopeRyuta Kamizono2018-03-271-0/+3
* | Short circuit the scoping delegation for `relation.all`Ryuta Kamizono2018-03-301-0/+1
|/
* Merge pull request #32221 from composerinteralia/batch-predicate-builderRyuta Kamizono2018-03-221-10/+16
|\
| * Use PredicateBuilder for bind params in BatchesDaniel Colson2018-03-111-10/+16
* | Only preload misses on multifetch cacheLachlan Sylvester2018-03-061-0/+5
|/
* Eager loading with polymorphic associations should behave consistentlyRyuta Kamizono2018-03-041-3/+3
* Extract all `base_class.name` as `polymorphic_name`Ryuta Kamizono2018-03-041-5/+7
* Distinct with order #count regressionMax Schwenk2018-02-251-1/+1
* PostgreSQL: Treat infinite values in date like datetime consistentlyRyuta Kamizono2018-02-232-3/+21
* Use private attr_readerRyuta Kamizono2018-02-236-13/+6
* Revert "Delegate `uniq` to `records`"Ryuta Kamizono2018-02-181-1/+1
* Rails 6 requires Ruby 2.3+Jeremy Daer2018-02-172-8/+2
* Merge pull request #31133 from mohsen-alizadeh/sanitize_empty_and_nil_paramet...Matthew Draper2018-02-111-0/+1
|\
| * sanitize empty and nil parameters to selectMohsen Alizadeh2017-11-121-0/+1
* | Fix formatting of `pick` [ci skip]yuuji.yaginuma2018-02-101-1/+1
* | Add Relation#pick as short-hand for single-value plucks (#31941)David Heinemeier Hansson2018-02-091-0/+18
* | Avoid extra calls to to_sDaniel Colson2018-01-291-1/+1
* | Fix expanding an array of `composed_of` objects which have multiple mappingsRyuta Kamizono2018-01-292-1/+12
* | Fix `count(:all)` with eager loading and having an order other than the drivi...Ryuta Kamizono2018-01-251-1/+8
* | Avoid passing unnecessary arguments to relationDaniel Colson2018-01-242-2/+6
* | Fix relation merger issue with `left_outer_joins`Mehmet Emin INAC2018-01-152-1/+27
* | Merge pull request #28313 from sandrew/masterRyuta Kamizono2018-01-151-2/+3
|\ \
| * | Allow unscoping of left_outer_joinsAndrei Shaidurov2017-03-061-1/+1
* | | Don't need to pass `manager` to `convert_join_strings_to_ast`Ryuta Kamizono2018-01-141-2/+2
* | | Don't pass garbage args to alias trackerRyuta Kamizono2018-01-141-1/+2
* | | Use `apply_join_dependency` instead of meaningless named `find_with_associati...Ryuta Kamizono2018-01-111-24/+11
* | | Make `relation.exists?` more performant when using eager loadingRyuta Kamizono2018-01-111-3/+4
* | | resolve inconsistencies between first and to_a.first with limitBrian Christian2018-01-091-1/+5
* | | Make `find_nth_from_last` more performant when using reversible orderRyuta Kamizono2018-01-071-6/+5
* | | Fix `last` with `offset` to behave consistently with loaded relationRyuta Kamizono2018-01-071-1/+1
* | | Fix `pluck` with eager loading to respect `offset`Ryuta Kamizono2018-01-071-1/+1
* | | Partial revert the changing default value of `readonly_value`Ryuta Kamizono2018-01-051-13/+2