So I’m trying to make
using:
<% form_tag :action => “search_for”, {:method => :get, :class =>
‘ajax_box’} do %>
but I get:
Has form_tag changed with rails v3?
So I’m trying to make
using:
<% form_tag :action => “search_for”, {:method => :get, :class =>
‘ajax_box’} do %>
but I get:
Has form_tag changed with rails v3?
also
<% form_tag {:action => “search_for”}, {:method => :get, :class =>
“ajax_box”} do %>
gives me:
unexpected tASSOC, expecting ‘}’
form_tag {:action =>(error here on this whitespace)“search_for”},
form_tag {:action => “search_for”}, {:method => :…
^
On 10-10-19 08:09 PM, Mohammad El-abid wrote:
Has form_tag changed with rails v3?
you can read about forms here:
one think i can point out, rails 3 use the equal sign now
<%= form_ … %>
–
Kind Regards,
Rajinder Y. | DevMentor.org | Do Good! ~ Share Freely
GNU/Linux: 2.6.35-22-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.1
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