aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
...
* | | | Mixin `CollectionProxy::DelegateExtending` after `ClassSpecificRelation`Ryuta Kamizono2017-04-221-10/+18
* | | | Prevent double firing the before save callback of new object when the parent ...Ryuta Kamizono2017-04-213-46/+34
* | | | Remove `CollectionProxy#uniq`Ryuta Kamizono2017-03-231-4/+0
* | | | Fix extension method with dirty target in has_many associationsRyuta Kamizono2017-03-201-2/+3
* | | | Evaluate the default block only when necessaryRyuta Kamizono2017-03-202-3/+3
* | | | Add :default option to belongs_to (#28453)George Claghorn2017-03-172-1/+12
* | | | Fix select with block doesn't return newly built records in has_many associationRyuta Kamizono2017-03-091-2/+2
* | | | remove unused parametersAaron Patterson2017-03-031-6/+6
* | | | `join_keys` no longer needs a class passed to itAaron Patterson2017-03-032-3/+3
* | | | ask reflection for klass join reflectionAaron Patterson2017-03-031-13/+1
* | | | Move join scopes on to the reflection objectAaron Patterson2017-03-031-8/+1
* | | | Remove `node` parameter to `join_constraints`Aaron Patterson2017-03-032-3/+3
* | | | 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-213-24/+29
|\ \ \ \ | |/ / / |/| | |
| * | | Define `respond_to_missing?` instead of `respond_to?`Ryuta Kamizono2017-02-211-4/+4
| * | | Cache target scope for collection proxyRyuta Kamizono2016-12-252-3/+4
| * | | No need to cache collection proxies separatelyRyuta Kamizono2016-12-251-7/+1
| * | | Delegate to `scope` rather than `merge!` for collection proxyRyuta Kamizono2016-12-252-14/+24
* | | | Chain scope constraints should respect own table aliasRyuta Kamizono2017-02-011-5/+6
* | | | Merge pull request #27838 from kamipo/reload_destroyed_through_recordRafael França2017-01-311-0/+4
|\ \ \ \
| * | | | Reload `through_record` that has been destroyed in `create_through_record`Ryuta Kamizono2017-01-291-0/+4
* | | | | Fix `scopes` implementation on `PolymorphicReflection`Aaron Patterson2017-01-302-7/+3
|/ / / /
* | | | class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-131-1/+1
* | | | Reduce string objects by using \ instead of + or << for concatenating stringsAkira Matsuda2017-01-121-1/+1
* | | | `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* | | | Merge pull request #26352 from kamipo/avoid_to_call_set_inverse_instance_twiceArthur Nogueira Neves2017-01-032-2/+2
|\ \ \ \
| * | | | Avoid to call `set_inverse_instance` twice for `has_many` associationRyuta Kamizono2016-12-282-2/+2
* | | | | 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