On Aug 18, 6:24 pm, IAmNan <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to