aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_proxy.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Merge pull request #36320 from XrXr/no-doc-prependRafael França2019-05-211-1/+1
|\
| * Put :nodoc: on method that raises NoMethodErrorAlan Wu2019-05-211-1/+1
* | Fix rdoc rendering for push alias symbolTenzin Chemi2019-04-231-1/+1
|/
* Clarify collection proxy docsGannon McGibbon2019-02-081-11/+8
* Fix `CollectionProxy#concat` to return self by alias it to `#<<`Yuya Tanaka2019-02-061-30/+4
* Reset scope after collection deleteGannon McGibbon2018-12-041-4/+4
* Don't expose internal `get_value`/`set_value` methodsRyuta Kamizono2018-10-181-1/+1
* Clear QueryCache when reloading associationsChristophe Maximin2018-10-101-1/+1
* Revert "✂️"Ryuta Kamizono2018-02-071-1/+2
* ✂️schneems2018-02-061-2/+1
* Avoid passing unnecessary arguments to relationDaniel Colson2018-01-241-1/+1
* Consolidate duplicated `to_ary`/`to_a` definitions in `Relation` and `Collect...Ryuta Kamizono2017-11-101-4/+6
* Remove association(true) references from docs [ci skip]Eugene Kenny2017-10-161-4/+0
* Delegate to `Enumerable#find` for `CollectionProxy`Ryuta Kamizono2017-08-131-2/+3
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+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
* Move clearing of @offsets cache to reset_scopeJohn Hawthorn2017-06-211-2/+1
* Clear offset cache on CollectionProxy reset/reloadJohn Hawthorn2017-06-201-0/+2
* Cache the association proxy objectRyuta Kamizono2017-05-281-3/+6
* Fix association with extension issuesRyuta Kamizono2017-05-281-21/+3
* Mixin `CollectionProxy::DelegateExtending` after `ClassSpecificRelation`Ryuta Kamizono2017-04-221-10/+18
* Remove `CollectionProxy#uniq`Ryuta Kamizono2017-03-231-4/+0
* Fix extension method with dirty target in has_many associationsRyuta Kamizono2017-03-201-2/+3
* Fix select with block doesn't return newly built records in has_many associationRyuta Kamizono2017-03-091-2/+2
* Revert "Dupping a CollectionProxy should dup the load_target"eileencodes2017-02-281-4/+0
* Dupping a CollectionProxy should dup the load_targeteileencodes2017-02-281-0/+4
* Merge pull request #25877 from kamipo/delegate_to_scope_rather_than_mergeMatthew Draper2017-02-211-13/+24
|\
| * Define `respond_to_missing?` instead of `respond_to?`Ryuta Kamizono2017-02-211-4/+4
| * Cache target scope for collection proxyRyuta Kamizono2016-12-251-2/+3
| * Delegate to `scope` rather than `merge!` for collection proxyRyuta Kamizono2016-12-251-11/+21
* | Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-2/+2
|/
* Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-241-5/+3
* Respect new records for `CollectionProxy#uniq`Ryuta Kamizono2016-11-131-3/+16
* Fix regression caused due to removal of select method from CollectionAssociationPrathamesh Sonpatki2016-10-221-6/+0
* Revert " [ci skip] Remove duplicate example."Vipul A M2016-09-061-0/+5
* [ci skip] Remove duplicate example.Aditya Kapoor2016-09-061-5/+0
* Remove unnecessary `count` method for collection proxyRyuta Kamizono2016-09-041-11/+14
* Remove unnecessary `any?` and `many?` methods for collection proxyRyuta Kamizono2016-08-191-6/+12
* Remove unnecessary `length` method for collection proxyRyuta Kamizono2016-08-191-3/+6
* Merge pull request #25989 from kamipo/remove_unnecessary_select_for_collectio...Rafael França2016-08-191-3/+6
|\
| * Remove unnecessary `select` method for `CollectionProxy`Ryuta Kamizono2016-08-181-3/+6
* | Remove unnecessary ordinal methods for collection associationRyuta Kamizono2016-08-181-26/+68
|/
* Merge pull request #25976 from kamipo/pluck_uses_loaded_targetRafael França2016-08-171-1/+12
|\
| * `pluck` should use `records` (`load_target`) when `loaded?` is trueRyuta Kamizono2016-08-041-1/+12
* | Fix inconsistent the signature of finder methods for collection associationRyuta Kamizono2016-08-161-18/+18
* | `CollectionProxy#take` should respect dirty targetRyuta Kamizono2016-08-141-2/+2
|/
* Merge pull request #25941 from kamipo/finder_methods_uses_load_targetRafael França2016-07-281-1/+1
|\
| * `FinderMethods` uses `records` (`load_target`) when `loaded?` is trueRyuta Kamizono2016-07-281-1/+1