
Records getting dissociated when using #save
Reported by Elliott Mason | March 18th, 2008 @ 04:35 PM
I'm having a strange problem where already-saved records are getting dissociated from their belongs_to association (foo_id somehow gets set to nil) when that associated object is saved. In my particular case it is when using #update_attributes (which is really just #attributes = {} and then #save). This is really strange behavior to me and I haven't had time to troubleshoot it. I've pasted an abbreviated version of my class...
Any ideas?
Comments and changes to this ticket
-
Dan Kubb (dkubb) April 15th, 2008 @ 02:44 AM
- Milestone cleared.
-
Sam Smoot May 21st, 2008 @ 01:17 AM
- State changed from new to resolved
There's been several patches applied to 0.3.0 recently that might have resolved this.
Either way, should not be an issue in 0.9.0.
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 »