認証トークン

あなたの認証トークンは<%= @user.authentication_token %>です
<% if @user.authentication_token %> <%= link_to 'delete token', :action => :delete_token %> <% else %> <%= link_to 'generate token', :action => :create_token %> <% end %>

退会

<%= link_to('退会する', {:controller => 'user_registrations', :action => :destroy, :id => @user.id}, {:method => :delete}) %>