aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Refactor `CollectionAssociation#ids_reader`Ryuta Kamizono2017-01-011-3/+1
* Remove deprecated force reload argument in association readersRafael Mendonça França2016-12-292-20/+4
* Remove deprecated i18n scopes in Active RecordRafael Mendonça França2016-12-292-16/+2
* Should not update children when the parent creation with no reasonRyuta Kamizono2016-12-291-4/+6
* Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-282-5/+5
* Merge pull request #27442 from kamipo/fix_27434Eileen M. Uchitelle2016-12-272-13/+16
|\
| * Add a record to target before any callbacks loads the recordRyuta Kamizono2016-12-232-13/+16
* | No need `:doc:` for `:nodoc:` classes [ci skip]Ryuta Kamizono2016-12-251-1/+1
* | Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-242-9/+5
* | Describe what we are protectingAkira Matsuda2016-12-231-0/+2
|/
* Fix CI failure caused by #25227 and #25280 were merged at the same timeRyuta Kamizono2016-12-101-1/+1
* Merge pull request #25280 from kamipo/prevent_range_error_for_belongs_to_asso...Sean Griffin2016-12-101-0/+2
|\
| * Prevent `RangeError` for `belongs_to` associationsRyuta Kamizono2016-10-101-0/+2
* | 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
* | Introduce `reload_<association>` reader for singular associations.Yves Senn2016-11-222-1/+17
* | Merge pull request #26980 from kamipo/respect_new_records_for_collection_prox...Sean Griffin2016-11-172-10/+16
|\ \
| * | Respect new records for `CollectionProxy#uniq`Ryuta Kamizono2016-11-132-10/+16
* | | Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-132-3/+4
|\ \ \ | |/ / |/| |
| * | Add missing `+` around a some literals.bogdanvlviv2016-10-272-3/+4
* | | Fixes TypeError Exception when cache counter value equals nil (#26940)Daniel E. Garcia Shulman2016-11-021-1/+1
* | | 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
| |/ / /
* | | | Allow `autosave: true` to be used with inverse ofSean Griffin2016-11-012-1/+11
* | | | Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-014-17/+19
|/ / /
* | | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-293-13/+13
* | | Merge PR #19759Arthur Neves2016-10-281-1/+4
|\ \ \
| * | | Fix for has_and_belongs_to_many & has_many_through associations while partial...Mehmet Emin İNAÇ2016-02-131-1/+4
* | | | Fix HABTM associations join table resolver bug on constants and symbolsMehmet Emin İNAÇ2016-10-271-1/+1
| |/ / |/| |
* | | Fix regression caused due to removal of select method from CollectionAssociationPrathamesh Sonpatki2016-10-221-6/+0
| |/ |/|
* | Don't skip in-memory insertion of associations when loaded in validateSean Griffin2016-09-292-7/+12
* | Merge pull request #26448 from kamipo/remove_collection_association_uniqKasper Timm Hansen2016-09-181-1/+0
|\ \
| * | Remove unnecessry `alias uniq distinct` for collection associationRyuta Kamizono2016-09-101-1/+0
* | | Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-17/+17
|/ /
* | Merge pull request #26380 from kamipo/pass_set_inverse_instance_blockKasper Timm Hansen2016-09-081-2/+2
|\ \
| * | Pass `set_inverse_instance` block to `sc.execute` for `SingularAssociation`Ryuta Kamizono2016-09-031-2/+2
* | | Revert " [ci skip] Remove duplicate example."Vipul A M2016-09-061-0/+5
* | | Merge pull request #26410 from aditya-kapoor/rm-dupsVipul A M2016-09-061-5/+0
|\ \ \
| * | | [ci skip] Remove duplicate example.Aditya Kapoor2016-09-061-5/+0
* | | | Remove redundant `!loaded?` conditionRyuta Kamizono2016-09-061-2/+2
* | | | Merge pull request #26379 from kamipo/remove_unnecessary_query_scopeAndrew White2016-09-051-4/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove unnecessary `query_scope`Ryuta Kamizono2016-08-161-4/+0
* | | | Remove unnecessary `count` method for collection proxyRyuta Kamizono2016-09-042-36/+14
* | | | Extract duplicated `create` and `create!` definition for associationRyuta Kamizono2016-09-033-16/+8
| |/ / |/| |
* | | fixes remaining RuboCop issues [Vipul A M, Xavier Noria]Xavier Noria2016-09-012-3/+3
* | | Ensure that inverse associations are set before running callbacksSean Griffin2016-08-316-13/+27
* | | Remove unnecessary `any?` and `many?` methods for collection proxyRyuta Kamizono2016-08-192-28/+12