aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_one_through_association.rb
Commit message (Expand)AuthorAgeFilesLines
* Don't expose `SingularAssociation#replace` which is internal APIRyuta Kamizono2018-05-161-5/+5
* Fix .new with multiple through associationsSam DeCesare2018-04-091-1/+5
* Fix building has_one through recordRyuta Kamizono2018-01-231-6/+5
* Fix broken doc for Active Record [ci skip]Yoshiyuki Hirano2017-08-251-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Reload `through_record` that has been destroyed in `create_through_record`Ryuta Kamizono2017-01-291-0/+4
* `load_target` is a public methodRyuta Kamizono2016-07-231-1/+1
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-1/+1
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-26/+20
|\
| * Delegate through_reflection and source_reflection to reflectionJon Leighton2011-02-211-1/+1
| * Associations - where possible, call attributes methods rather than directly a...Jon Leighton2011-02-211-2/+2
| * Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-1/+1
| * Add :nodoc: to ThroughAssociation and HasOneAssociationJon Leighton2011-02-181-1/+1
| * Indent methods under private/protected sectionsJon Leighton2011-01-301-14/+14
| * Rename some variablesJon Leighton2011-01-161-11/+11
| * Use self.target= in HasOneThroughAssociation tooJon Leighton2011-01-161-4/+3
| * We can use the association_proxy method directly in HasOneThroughAssociation nowJon Leighton2011-01-111-3/+2
| * find_target can be inheritedJon Leighton2011-01-111-4/+0
| * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-1/+1
| * Add a HasAssociation module for common code for has_* associationsJon Leighton2010-12-261-3/+1
| * Remove pointless use of 'private'Jon Leighton2010-12-261-1/+0
| * Use the through association proxy for operations on the through record, so th...Jon Leighton2010-12-261-11/+13
| * If a has_many goes :through a belongs_to, and the foreign key of the belongs_...Jon Leighton2010-12-231-0/+1
| * Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-161-1/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-1/+1
|\|
| * Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-1/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-1/+1
|\|
| * use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-1/+1
| * Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc...Jon Leighton2010-10-301-1/+1
* | Fix naughty trailing whitespaceJon Leighton2010-10-311-1/+1
* | Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc...Jon Leighton2010-10-171-1/+1
* | Make sure nested through associations are read onlyJon Leighton2010-10-151-0/+2
|/
* Adds title to activerecord/lib/active_record/associations/*Rizwan Reza2010-06-161-0/+1
* Allow ho:through#build when the owner is a new record [#1749 state:resolved]Tristan Dunn2009-08-101-3/+9
* HasOneThroughAssociation still shouldn't derive from HasManyThroughAssociation.Adam Milligan2009-06-121-10/+12
* has_one :through should not create a new association when assigned nil [#698 ...Daniel Guettler2009-05-171-8/+8
* fix assignment to has_one :through associations.Matt Jones2008-11-151-4/+3
* Fix two has_one :through errorspivotal2008-08-271-0/+4
* Remove duplicate code from associations. [Pratik]Pratik Naik2008-04-061-1/+1
* Add has_one :through support, finally. Closes #4756 [thechrisoshow]Rick Olson2008-03-211-0/+28