Patch for 2-3-stable. Fix infinite loop when using has_many :through with nonstandard keys
1 view
Skip to first unread message
Aubrey Holland
unread,
Dec 28, 2009, 4:39:13 PM12/28/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Core
If you attempt the create a has_many :through association that uses a has_many association with nonstandard primary and foreign keys, you will get an infinite loop when trying to use the association. I have written a longer description of this problem, along with a simple, tested patch that fixes it in the following bug: