Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RailsWarden example using Mongoid
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
log
public
script
test
tmp
.gitignore
README.markdown
Rakefile

README.markdown

RailsWarden example using Mongoid

Created by: http://github.com/HP

User Model based on Clearance.

Example Application based on Authlogic Example App.

Layout generated with nifty_layout from Nifty Generators.

RailsWarden provides authentication via the Warden Rack authentication framework.

Helper Methods provided by RailsWarden:

  • Access Warden: warden
  • Check if user is logged in: logged_in?, authenticated?
  • Access logged in user: current_user, user
  • Set logged in user: current_user=, user=

Controller Methods:

  • Authenticate: authenticate
  • Authenticate with error/redirect: authenticate!
  • Log out: logout
Something went wrong with that request. Please try again.