You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This exact thing is happening to me when sessions time out.
Can you PLEEEEASE give a little more info to go on @josevalim or point me to a page that explains how to do what you suggest? I use simple_form and just have <%= f.error_notification %> at the top of many forms, which usually works fine.
f.error_notification is not supposed to show all messages in your flash. There is something going and printing all values in your flash message and that method should actually filter and guarantee if the value is an actual string before hand.
Hi,
i am using devise for mu user stuff. for the session expiry, i did the following 2 steps:
In sessions_controller:
prepend_before_filter { request.env["devise.skip_timeout"] = true }
In user model:
devise :timeoutable, :timeout_in => 2.minutes
If my session expires, i am getting an error "Your session has expired..." from devise errors which is fine.
But i am getting extra error outside the form as "true" where i inspect it as [:flash_timedout].
Please help me how to disable this true [:flash_timedout] ?
Thanks in advance..
The text was updated successfully, but these errors were encountered: