in my console it says:

"
Started GET "/games?utf8=%E2%9C%93&search=mega&commit=Search" for 
127.0.0.1 at 2013-01-30 15:52:18 +0100
Processing by GamesController#index as HTML
  Parameters: {"utf8"=>"V", "search"=>"mega", "commit"=>"Search"}
  Rendered games/_no_search_yet.html.erb (0.0ms)
Completed 200 OK in 5ms (Views: 0.0ms | ActiveRecord: 0.0ms)"

what does the ":q" actually mean? I didn't name my search field, as far 
as I know, it looks like this

  <%= form_tag games_path, :method => 'get' do %>
    <p>
      <%= text_field_tag :search, params[:search] %>
      <%= submit_tag "Search", :title_german => nil %>
    </p>
  <% end %>

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to