I'm not sure if this is the right way, wht i did in the same case was, 
converting it to JSON and pass the params. I didn't like to store a 
large params in session and so i did like this.


def process_new
@order = Order.new(params[:order])
end

In the view..
<%= hidden_field_tag "order_json", @order.to_json %>

back in controller:

JSON.parse(params[:order_json])

Thanks,
Srikanth J
http://srikanthjeeva.blogspot.com/

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to