# Force Create on scaffold Save

**URL:** <https://www.ruby-forum.com/t/force-create-on-scaffold-save/164363>\
**Category:** Rails\
**Created:** [March 31, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/force-create-on-scaffold-save/164363 "2009-03-31T15:05:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luciano](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f05b48/32.png) [@Luciano](https://www.ruby-forum.com/u/Luciano)\
**Post date:** [March 31, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/force-create-on-scaffold-save/164363/1 "2009-03-31T15:05:21Z")

</div>

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
