Forum: Ruby on Rails Passing a hash to a GET request

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
nuno (Guest)
on 2007-05-11 19:44
Hello, I'm trying to
link_to('Edit', :action => 'edit', :topic => {:parent_id => topic.id})

But unfortunately, :topic => {:parent_id => topic.id} produces
'/edit?topic=parent_id2'

Is there a solution of have GET params organized like POST params (eg
params[:topic][:title])

Thanks
This topic is locked and can not be replied to.