Wrong ID for has_many :through on a belongs_to relationship
-
Ian White
nested_has_many_through hasn't yet been tested on belongs_to (it's target has always been through has_many), so thanks for the bug report.
I'm currently very busy, but will get around to this. In the meantime, a spec highlighting the problem, or even better, a speced patch fixing the problem, would be very welcome.
-
Emery Finkelstein
I've got a patch for this, and I'm writing a spec now. Expect a pull request in an hour or so.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.