aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/collection_association.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Resolve association class correctly when assigning ids on a through associationMatthew Draper2016-12-091-1/+1
* Add test for collection *_ids= setter when association primary key setDominic Cleal2016-11-241-1/+1
* Restore RecordNotFound when *_ids= can't find records by IDDominic Cleal2016-11-241-2/+6
* Merge pull request #26980 from kamipo/respect_new_records_for_collection_prox...Sean Griffin2016-11-171-7/+0
|\
| * Respect new records for `CollectionProxy#uniq`Ryuta Kamizono2016-11-131-7/+0
* | Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-131-2/+3
|\ \ | |/ |/|
| * Add missing `+` around a some literals.bogdanvlviv2016-10-271-2/+3
* | Merge pull request #26451 from kamipo/remove_target_uniq_sizeSean Griffin2016-11-011-5/+1
|\ \
| * | Remove unnecessary `target.uniq.size` in `CollectionAssociation#size`Ryuta Kamizono2016-10-291-5/+1
| |/
* | Merge pull request #26453 from kamipo/remove_unused_internal_dependent_optionSean Griffin2016-11-011-4/+1
|\ \
| * | Remove unused internal `:dependent` option in `CollectionAssociation#delete`Ryuta Kamizono2016-10-291-4/+1
| |/
* / Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-1/+1
|/
* Don't skip in-memory insertion of associations when loaded in validateSean Griffin2016-09-291-7/+8
* Remove unnecessry `alias uniq distinct` for collection associationRyuta Kamizono2016-09-101-1/+0
* Remove redundant `!loaded?` conditionRyuta Kamizono2016-09-061-2/+2
* Remove unnecessary `count` method for collection proxyRyuta Kamizono2016-09-041-25/+0
* Extract duplicated `create` and `create!` definition for associationRyuta Kamizono2016-09-031-8/+0
* Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-3/+3
* Remove unnecessary `any?` and `many?` methods for collection proxyRyuta Kamizono2016-08-191-22/+0
* Remove unnecessary `length` method for collection proxyRyuta Kamizono2016-08-191-9/+0
* Merge pull request #25989 from kamipo/remove_unnecessary_select_for_collectio...Rafael França2016-08-191-8/+0
|\
| * Remove unnecessary `select` method for `CollectionProxy`Ryuta Kamizono2016-08-181-8/+0
* | Remove unnecessary ordinal methods for collection associationRyuta Kamizono2016-08-181-65/+6
|/
* Fix inconsistent the signature of finder methods for collection associationRyuta Kamizono2016-08-161-22/+20
* `CollectionProxy#take` should respect dirty targetRyuta Kamizono2016-08-141-13/+9
* revises most Lint/EndAlignment offensesXavier Noria2016-08-071-5/+5
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-1/+1
* 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