[Rails] Re: before_save messing up
On May 12, 9:02 pm, Yaw Boakye elGran <yawboaky...@gmail.com> wrote:
> I reset the db which clears all the users already created. Every new user
> has a nil for the remember_token field. That's the absurdity, the column in
> the db cannot be field with the value before the user is created.
Does your before_save get executed? I'd stick a breakpoint in there
and verify that it gets hit (although I can't think why it wouldn't)
Fred
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home