Skip to content

Instantly share code, notes, and snippets.

@metamn
Created May 19, 2009 18:35
Show Gist options
  • Save metamn/114305 to your computer and use it in GitHub Desktop.
Save metamn/114305 to your computer and use it in GitHub Desktop.
Show User for Authlogic
= content_for :content do
%p
%b Login
=h @user.login
%p
%b Login count
=h @user.login_count
%p
%b Last request at
=h @user.last_request_at
%p
%b Last login at
=h @user.last_login_at
%p
%b Current login at
=h @user.current_login_at
%p
%b Last login ip
=h @user.last_login_ip
%p
%b Current login ip
=h @user.current_login_ip
= link_to 'Edit', edit_account_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment