Flashed sign up and sign out messages - Devise

In following this tutorial:
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.

Abder-Rahman Ali wrote:

In following this tutorial:
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.

<div>
  <% flash.each do |name, msg| %>
    <%= content_tag :div, msg, :id => "flash_#{name}" %>
  <% end %>
  <%= content_tag :h1, yield(:title) if show_title? %>
  <%= yield %>
</div>

cheers,

Andre

Thanks a lot Andre.