Flashed sign up and sign out messages - Devise

In following this tutorial:

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 A. wrote:

In following this tutorial:
#209 Introducing Devise - RailsCasts

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

Thanks a lot Andre.