Forum: Ruby on Rails How to generate url from use input

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Venture L. (Guest)
on 2008-11-19 10:06
(Received via mailing list)
      Is there any way i can generate url according to use input
dynamically. Now, i have a route : '/search/:word', :controller => 'words', :action =>

      and then i also have a input page which just contain a text input
field and button. I want to generate URL like this "/search/:word" when
click the button, and the :word parameter is come from the value of text
input field while user input.
      How can do that? Thinks guys
This topic is locked and can not be replied to.