Force Create on scaffold Save


#1

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
save
end

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!

Luciano