DBA
unread,Jun 3, 2010, 4:06:18 PM6/3/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Devise
Hello everyone,
I'm trying to setup my singup and signin interfaces with Devise.
Everything was going fine, until I figured that when the user submits
an erroneous form no flash message is appearing.
For this application I'm using Ruby 1.9.2-head, Rails 3 beta 3 and
Haml. In order to attempt to debug this issue I've placed the
following haml:
= flash.to_yaml
= flash[:notice]
= flash[:alert]
= flash[:error]
When the page first loads, before any user interaction, the yaml shows
the following: --- !map:ActionDispatch::Flash::FlashHash {}
After a user submits a form without filling any of the fields the same
yaml appears (--- !map:ActionDispatch::Flash::FlashHash {}) and no
flash messes are shown stating than an error has occurred.
Could someone help me understand this issue a bit better?
Best regards,
DBA