Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: fenton42
Old thread as well, but perhaps this:
could help you...
If you call your devise model differently (not "User" but "MyUser" for example) you have to make use of
current_my_user_registration_path etc. as in
<% if my_user_signed_in? %>
Logged in as <strong><%= current_my_user.email %></strong>
<%= link_to 'Edit profile', edit_my_user_registration_path %>
<%= link_to "Logout", destroy_my_user_session_path, :method => :delete %>
<% else %>
<%= link_to "Sign up", new_my_user_registration_path %>
<%= link_to "Login", new_my_user_session_path %>
<% end %>
OK, kind of old thread, but I just have run into this as well.
It seems to be the 1.9 ruby syntax for Hashes.
:method => :delete
if you are still on ruby 1.8.x