# Flashed sign up and sign out messages - Devise

**URL:** <https://www.ruby-forum.com/t/flashed-sign-up-and-sign-out-messages-devise/192948>\
**Category:** Rails\
**Created:** [August 9, 2010, 3:11am UTC](https://www.ruby-forum.com/t/flashed-sign-up-and-sign-out-messages-devise/192948 "2010-08-09T03:11:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 9, 2010, 3:11am UTC](https://www.ruby-forum.com/t/flashed-sign-up-and-sign-out-messages-devise/192948/1 "2010-08-09T03:11:20Z")

</div>

In following this tutorial:

> **[\#209 Introducing Devise - RailsCasts](http://railscasts.com/episodes/209-introducing-devise)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

When I sign up or sign out I don’t get a flash message as shown in the  
tutorial, what could be the problem here?

Thanks.

---

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 9, 2010, 8:40am UTC](https://www.ruby-forum.com/t/flashed-sign-up-and-sign-out-messages-devise/192948/2 "2010-08-09T08:40:25Z")

</div>

Abder-Rahman A. wrote:

> In following this tutorial:  
> [#209 Introducing Devise - RailsCasts](http://railscasts.com/episodes/209-introducing-devise)
> 
> When I sign up or sign out I don’t get a flash message as shown in the  
> tutorial, what could be the problem here?
> 
> Thanks.

Hi Abder-Rahman

Keep an eye on your migration file … if you’re using User as your  
devise model. Check if these are available before running the rake

```
  t.database_authenticatable :null => false
  t.recoverable
  t.rememberable
  t.trackable

```

See to it that your application.html.erb has the following flash codes  
like.

 \<% flash.each do |name, msg| %\> \<%= content\_tag :div, msg, :id =\> "flash\_#{name}" %\> \<% end %\> \<%= content\_tag :h1, yield(:title) if show\_title? %\> \<%= yield %\>

cheers,

Andre

---

<div class="post-metadata">

**Author:** ![swengineer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Post date:** [August 9, 2010, 7:45pm UTC](https://www.ruby-forum.com/t/flashed-sign-up-and-sign-out-messages-devise/192948/3 "2010-08-09T19:45:11Z")

</div>

Thanks a lot Andre.
