Here's what belongs in your controller: def testing @bar = params[:foo] end
You should change your view not to user
start_form_tag...end_form_tag, it's deprecated. Here's how instead:
<% form_tag :action=> 'testing' do %>
...
<% end %>
Notice those are in <% %>, not <%= %>.
Andy