aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/member_detail.rb
Commit message (Collapse)AuthorAgeFilesLines
* Using existing models for building multiple has_one through testsRyuta Kamizono2018-04-221-0/+1
| | | | Follow up of #32514.
* 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
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Fix misleading errors for has_one through relationsMehmet Emin İNAÇ2015-07-221-3/+4
|
* Getting rid of the +automatic_inverse_of: false+ option in associations in favorwangjohn2013-06-081-1/+1
| | | | | of using +inverse_of: false+ option. Changing the documentation and adding a CHANGELOG entry for the automatic inverse detection feature.
* Created a method to automatically find inverse associations and cachewangjohn2013-05-071-1/+1
| | | | | | the results. Added tests to check to make sure that inverse associations are automatically found when has_many, has_one, or belongs_to associations are defined.
* Fix naughty trailing whitespaceJon Leighton2010-10-311-1/+1
|
* Adding test_has_many_through_has_one_with_has_many_through_source_reflection ↵Jon Leighton2010-10-121-0/+2
| | | | and modifying ThroughAssociationScope to make it work correctly.
* Fix preloading of has_one :through associations on belongs_to [#1507 ↵Matt Jones2008-12-181-0/+1
| | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* fix assignment to has_one :through associations.Matt Jones2008-11-151-0/+4
Signed-off-by: Michael Koziarski <michael@koziarski.com>