aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Avoid duplicated `set_inverse_instance` for target scopeRyuta Kamizono2016-08-031-15/+12
* Remove unnecessary `set_inverse_instance` in finder methodsRyuta Kamizono2016-08-021-6/+2
* Merge pull request #24862 from maclover7/jm-ar-fixesRafael França2016-05-211-2/+2
|\
| * Add missing `the`Jon Moss2016-05-211-2/+2
* | Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-2/+2
* | Forward ActiveRecord::Relation#count to Enumerable#count if block givenErik Michaels-Ober2016-03-191-2/+5
|/
* rename to 'second_to_last' and 'third_to_last'Brian Christian2016-02-101-4/+4
* allow Array.penultimate and Array.antepenultiate access methodsBrian Christian2016-02-091-0/+8
* Merge pull request #20997 from himesh-r/issue-20995Arthur Neves2016-02-021-1/+4
|\
| * Changed id-writer to save join table records based on association primary key...Himesh2016-02-021-1/+4
* | Bugfix collection association #create method …Bogdan Gusiev2015-11-231-4/+8
* | Delete needless `require 'active_support/deprecation'`yui-knk2015-10-201-2/+0
* | Skip statement cache on through association readerRafael Mendonça França2015-08-121-6/+1
* | Use memoization for collection associations ids readerMehmet Emin İNAÇ2015-08-031-2/+4
|/
* Deprecate force association reload by passing truePrem Sichanugrist2015-07-151-0/+8
* Fix a regression introduced by removing unnecessary db call when replacingShintaro Kojima2015-04-041-0/+2
* Reuse the CollectionAssociation#reader proxy cache if the foreign key is pres...Ben Woosley2015-03-151-2/+2
* Isolate access to .default_scopes in ActiveRecord::Scoping::DefaultBen Woosley2015-03-121-2/+1
* Preserve Array#take(n) behaviour of HasManyAssociationAkira Matsuda2015-02-281-3/+3
* Merge branch 'rm-take' into 4-1-stableRafael Mendonça França2015-02-201-0/+10
* `type_cast_from_user` -> `cast`Sean Griffin2015-02-171-1/+1
* Optimize none? and one? relation query methods to use LIMIT and COUNT.Eugene Gilburg2015-02-121-2/+4
* Move flattening records added to an association farther outSean Griffin2015-01-261-1/+2
* Remove support to activerecord-deprecated_findersRafael Mendonça França2015-01-021-5/+1
* - Changed `target` to `target_reflection` to avoid warning `possible referenc...Vipul A M2014-12-251-2/+2
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-5/+5
* Setting an association replaces records with the same id in memorySean Griffin2014-11-251-2/+18
* Wrap code snippets in +, not backticks, in sdocclaudiob2014-11-201-2/+2
* Merge pull request #11694 from Empact/association-bind-values-not-updated-on-...Rafael Mendonça França2014-11-101-1/+7
|\
| * Fix that a collection proxy could be cached before the save of the owner, res...Ben Woosley2014-10-031-1/+7
* | default scopes should break the cache on has_many.Aaron Patterson2014-11-071-1/+2
* | make sure cache is not used for collection assocations tooAaron Patterson2014-10-141-1/+6
|/
* Skip StatementCache for eager loaded associations (Fixes #16761)Sammy Larbi2014-09-041-1/+1
* Don't rely on the column for type casting reflectionsSean Griffin2014-06-181-2/+2
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-091-1/+1
* early return on delete and destroy methodseileencodes2014-05-181-0/+2
* rename delete_all_records to delete_or_nullify_all_recordseileencodes2014-05-131-1/+1
* begin refactoring delete_records methodeileencodes2014-05-131-1/+1
* refactor and clean up delete_all methodeileencodes2014-05-051-9/+1
* flip conditional in delete_all to handle nullify bettereileencodes2014-04-281-3/+3
* simplify the delete all w/ dependency methodeileencodes2014-04-281-3/+3
* remove unnecessary code from delete methodeileencodes2014-04-281-10/+2
* write a new method to be accessed from delete_alleileencodes2014-04-281-1/+9
* use statement cache for belongs_to relationsAaron Patterson2014-04-221-1/+1
* cache scope building on associationsAaron Patterson2014-04-141-1/+15
* remove check for present? from delete_alleileencodes2014-04-071-2/+2
* Merge pull request #11650 from prathamesh-sonpatki/renameRafael Mendonça França2014-04-041-4/+4
|\
| * [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-4/+4
* | fix delete_all to remove records directlyeileencodes2014-03-311-1/+1
* | Avoid duplicated conditionalsCarlos Antonio da Silva2014-03-141-2/+1