Displaying 1 result from an estimated 1 matches for "save_result".
Did you mean:
saved_result
2006 Apr 08
4
Stack level too deep error :(
...it simple but I don''t think
the problem relates to those bits. I have created a form for Quote
which renders a component for a new Eventdetail, to the user the
eventdetail appears as part of new quote (or booking).
When I go to save the quote I do this:
Quote.transaction {
save_result = @eventdetail.save
if save_result
@quote.eventdetail = @eventdetail
save_result &&= @quote.save
end
}
if save_result
flash[''notice''] = ''Quote was successfully created.''
redirect_to(:action => '...