
one-to-many association reload method bug
Reported by Lawrence Pit | October 30th, 2008 @ 07:55 AM
See #622.
If you replace the line with post.reload by:
post = Post.get(1)
then in edge it will have the same behaviour of gem v0.9.6 (which is still incorrect though).
So there's a problem with the #reload method apparently. After a #reload calling #each on the one-to-many association will result in an empty [] array, instead of it reloading the association resources.
Comments and changes to this ticket
-
Dan Kubb (dkubb) November 23rd, 2008 @ 08:24 PM
- State changed from new to resolved
Lawrence, I just tested this on my branch now and it returns:
#<Tag id=1 name="tag1" post_id=nil>
I'm going to close this, but can you also confirm and reopen if necessary?
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »