Ho aggiornato a Rails 2.3.10, Rack 1.2.1 e ora nessuno dei miei messaggi flash è visibile. Ho scoperto che nel corso di un reindirizzamento l'avviso viene passato come questoAvviso flash con redirect_to è rotto nei binari
redirect_to(@user, :notice => "Sorry there was an error")
E a mio avviso l'hash flash è vuota
<%= debug flash %>
!map:ActionController::Flash::FlashHash {}
Ma si può vedere il messaggio nel controller. Cosa dà?
<%= debug controller.session %>
session{:home_zip=>"94108", :session_id=>"xxx", :flash=>{:notice=>"Sorry there was an error"}, :user_credentials=>"1baf9c9c0423ce0151ec32e24cc422f07309e4ba503eb4830635ecc115da217809997324374bb273b3fb792895c9741a8b8c9ea4267771a1bd149de5b9179ea0", :user_credentials_id=>22, :home_market_id=>11}
Edit Profile
Grazie ma ho provato anche quello, ma sembra che il metodo flash chiamato dalla vista sia rotto. – jspooner