Displaying 1 result from an estimated 1 matches for "quotepart".
Did you mean:
quotearg
2006 Jan 30
0
Adding ActiveRecord objects to the session
Hi all,
I am creating an AJAX quoting/puchasing system and I am having a bit of
unexpected behavior when adding ActiveRecord objects to the session.
When I add the ActiveRecord object (in this case QuotePart) to the
session it automatically saves the object that was added to the session
to the DB. And the oddest part is that it automatically fills in the
foreign key field quote_id, even though it is set to 0 at the time it is
saved to the session.
Here is the offending code, not the debugging stateme...