Displaying 1 result from an estimated 1 matches for "user_credentials_id".
2010 Sep 02
0
controller failing to read flash
...rails
2.3.8 app. I set the flash in a request, and then redirect. In the
next request (the one redirected to), accessing the flash returns an
empty hash, but the flash is stored and visible in the session.
(rdb:21) session
{:user_credentials=>"...", :session_id=>"...", :user_credentials_id=>1, :flash=>{:notice=>"Twitter
status updated"}, :_csrf_token=>"..."}
(rdb:21) session[:flash]
{:notice=>"Twitter status updated"}
(rdb:21) flash
{}
Looking at the source for flash in actionpack-2.3.8/lib/
action_controller/flash.rb,
the difference is t...