aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/association.rb
Commit message (Expand)AuthorAgeFilesLines
* Prevent extra `scope` construction in `find_target`Ryuta Kamizono2017-06-181-1/+1
* Merge pull request #29098 from kamipo/fix_association_with_extension_issuesMatthew Draper2017-05-301-0/+10
|\
| * Extract `default_extensions` to avoid `klass.all`Ryuta Kamizono2017-05-301-1/+1
| * Fix association with extension issuesRyuta Kamizono2017-05-281-0/+10
* | Remove unused `Association#interpolate`Ryuta Kamizono2017-05-281-8/+0
|/
* Cache target scope for collection proxyRyuta Kamizono2016-12-251-1/+1
* Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-131-1/+1
|\
| * Add missing `+` around a some literals.bogdanvlviv2016-10-271-1/+1
* | Allow `autosave: true` to be used with inverse ofSean Griffin2016-11-011-0/+9
* | Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-1/+1
|/
* Extract duplicated `create` and `create!` definition for associationRyuta Kamizono2016-09-031-0/+8
* modernizes hash syntax in activerecordXavier Noria2016-08-061-1/+1
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
* Give more context from `AssociationMismatchError`Sean Griffin2016-05-121-1/+2
* start hiding the `scope_chain` data structureAaron Patterson2016-03-041-1/+1
* Except keys of `build_record`'s argument from `create_scope` in initialize_at...yui-knk2015-11-161-3/+6
* Skip statement cache on through association readerRafael Mendonça França2015-08-121-0/+8
* thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for...Diego Carrion2015-06-221-3/+6
* Doc fix about association hierarchykeepcosmos2015-03-151-2/+2
* Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-261-1/+1
* reuse available collection? check instead of macroeileencodes2014-06-091-1/+1
* add has_one? method and reuse instead of checking macroeileencodes2014-06-091-1/+1
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-1/+1
* Prevent foreign_key_for? from type casting all attributesWojtek Kruszewski2014-02-211-1/+1
* make a singleton for AssociationScopeAaron Patterson2014-02-141-1/+1
* pass the association and connection to the scope methodAaron Patterson2014-02-141-1/+1
* remove the nil check from set_inverse_instanceAaron Patterson2013-12-121-1/+2
* fix typo, "state_state" should be "stale_state" [ci skip]Scott M2013-12-071-1/+1
* Checks to see if the record contains the foreign_key to set the inverse autom...Edo Balvers2013-11-161-1/+6
* add inversed accessor to association classDmitry Polushkin2013-10-131-2/+3
* inversed instance should not be reloaded after stale state was changedDmitry Polushkin2013-10-131-2/+5
* remove HABTM associationsAaron Patterson2013-10-021-1/+0
* add a specific factory method rather than using newAaron Patterson2013-07-231-1/+1
* Removed deprecated method scopedNeeraj Singh2013-07-011-5/+0
* Simplify/fix implementation of default scopesJon Leighton2013-06-281-5/+1
* enhanced comments for foreign_key_present? methodNeeraj Singh2013-05-231-3/+4
* Set the inverse when association queries are refinedJon Leighton2013-05-101-1/+5
* Do not overwrite manually built records during one-to-one nested attribute as...Olek Janiszewski2013-05-031-4/+8
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-04-111-1/+1
|\
| * minor copy editingNeeraj Singh2013-03-301-1/+1
* | Merge pull request #9996 from mikz/masterJon Leighton2013-04-051-0/+1
|\ \ | |/ |/|
| * fix inverse_of association in block of new childMichal Cichra2013-04-011-0/+1
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-1/+2
|\ \
| * | explain method invertible_for [ci skip]Neeraj Singh2013-03-291-1/+2
* | | Do not use deprecate method [ci skip]Neeraj Singh2013-03-291-1/+1
* | | fix broken sentence [ci skip]Neeraj Singh2013-03-291-1/+1
| |/ |/|
* | Adding a bang to method name of raise_on_type_mismatch.wangjohn2013-03-211-1/+1
|/
* No need to send public methodsAkira Matsuda2013-02-261-1/+1
* prevent mass assignment of polymorphic type when using `build`Yves Senn2012-11-221-1/+2
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-031-1/+1
|\