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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---