Hi,
I have two actions: c1 and c2. From v1.rhtml view
I am redirected to c1 with a submit method.
def c1
# the input is params[:form_in_v1] from v1.rhtml
...
x_value = params[:form_in_v1][''some_value'']
...
redirect_to :c2, :form_in_v1 => params[:form_in_v1]
end
def c2
...
x_value = params[:form_in_v1][''some_value'']
...
end
somehow doesn''t work ! :( params[:form_in_v1] was a
hash when it comes to c1 from the view but no more
when redirecting to c2 ???
Is there a clean solution?
Thanks,
Ram.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---