search for: preiously

Displaying 1 result from an estimated 1 matches for "preiously".

Did you mean: previously
2006 May 09
2
retrieve previous id
Hi, I have this piece of code, if @quote.save flash[:notice] = ''Quote was successfully created.'' #return id of preiously inserted quote #enter this id in the correct related project field redirect_to :action => ''list'' end How can I return the id of the saved data? -- Posted via http://www.ruby-forum.com/.