hi i am want to use google search for my application for that how to
write in form_tag
<%form_tag ({},{:action=>‘http://www.google.uk’}) do %>
<%end%>
but here it is taking my action & controller of my action .how to write
please help
hi i am want to use google search for my application for that how to
write in form_tag
<%form_tag ({},{:action=>‘http://www.google.uk’}) do %>
<%end%>
but here it is taking my action & controller of my action .how to write
please help
On 6 Aug 2008, at 14:43, Lost W. wrote:
please help
There’s an example in the docs that alludes to this. This first
parameter of form_tag is either a set of options
(like :controller, :action etc…) or a complete url.
For example,
<%form_tag (‘http://www.google.uk’) do %>
should do the trick
Frederick C. wrote:
On 6 Aug 2008, at 14:43, Lost W. wrote:
please help
There’s an example in the docs that alludes to this. This first
parameter of form_tag is either a set of options
(like :controller, :action etc…) or a complete url.For example,
<%form_tag (‘http://www.google.uk’) do %>should do the trick
Thank u Frederick
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs