[Rails] Re: When after_save isn't after the save....
On Aug 18, 6:24 pm, IAmNan <dger...@gmail.com> wrote:
>
> On exchange.rb#18 where the debugger stops, the values of
> demand.available and supply.available have been correctly decremented.
> After I let the code continue, they are back to their original values.
>
It doesn't look your saving the supply & semand objects you're
modifying. Are you doing that somewhere else?
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