Forum: Ruby on Rails force Create on scaffold Save

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Luciano (Guest)
on 2009-03-31 17:05
(Received via mailing list)
Hello there,

I working on a form, but I would like to save a news version after the
edit form, I changed my form_for to:

<%# form_for(@quote) do |f| %>
<% form_for :quote, :url => { :action => "create" } do |f| %>

but it's no working, a possible reason is that I have some nested
items on my form, but the save are working well with these items,

my first idea was overwrite the update method like

def update

one last thing, I considered using the acts_as_versioned but I could
not make it work with nested items.

does anybody have any advice here?

thank you very much!

This topic is locked and can not be replied to.