This project is archived and is in readonly mode.
Why HasOneThroughAssociation extends from HasManyThroughAssociation?
Reported by ronin-47871 (at lighthouseapp) | February 19th, 2009 @ 02:19 PM | in 2.x
The fact that HasOneThroughAssociation extends from HasManyThroughAssociation has a few drawbacks for me:
- Can't use association constructor methods
- Can't set has_one :through associations to unsaved records
- ...
Comments and changes to this ticket
-
ronin-47871 (at lighthouseapp) February 19th, 2009 @ 02:51 PM
Attached a patch with a possible HasOneThroughAssociation extending from HasOneAssociation.
-
Pratik March 8th, 2009 @ 04:36 PM
- Assigned user set to Pratik
- State changed from new to duplicate
This is related to #1642. Could you please provide a failing test case in the other patch displaying the problem with the current code?
Thanks !
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>