aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Fix the scoping with query methods in the scope blockRyuta Kamizono2018-11-301-1/+1
* Make implicit order column configurableTekin Suleyman2018-11-261-2/+2
* Arel: Implemented DB-aware NULL-safe comparison (#34451)Dmytro Shteflyuk2018-11-151-0/+4
* Ignore empty condition on #construct_relation_for_existsr7kamura2018-10-271-1/+1
* Lazy checking whether or not values in IN clause are boundableRyuta Kamizono2018-10-241-3/+2
* Don't expose internal `get_value`/`set_value` methodsRyuta Kamizono2018-10-181-10/+8
* Generate delegation methods to named scope in the definition timeRyuta Kamizono2018-10-091-0/+30
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-293-6/+6
* Bugfix ActiveRecord::Relation#merge special case of from clauseBogdan Gusiev2018-09-281-3/+6
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-2/+2
* Don't return the same object when using find with an empty arrayRafael Mendonça França2018-09-191-1/+1
* Fallback to unprepared statement only when bind params limit is exceededRyuta Kamizono2018-09-142-7/+3
* Eager loading/preloading should be worked regardless of large number of recordsRyuta Kamizono2018-09-122-5/+10
* Use `visitor.compile` instead of constructing by connection itselfRyuta Kamizono2018-09-091-1/+1
* Permit list usage cleanup and clearer documentationKevin Deisz2018-08-272-3/+3
* 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