How to generate url from use input

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs