Hi

why is that not working?


Controller-----------------------------------------------------

def bla

      month = params[:month_select]

      redirect_to :action => "index"
      flash[:error_messages_for] = month.to_s

end



View----------------------------------------------------------

<%form_tag :action => "bla" do %>

  <%= select_month(Date.today, :field_name => 'month_select') %>
  <%= submit_tag "Jump" %>

<% end %>

--------------------------------------------------------------

The notice is empty after the post.

Greetings, Andi
-- 
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 post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to