Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rails authentication from scratch
Ruby HTML CSS Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
bin
config
db
doc
lib
log
public
script
spec
vendor
.gitignore
.rspec
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Decent Authentication

Build Status Code Climate

Decent Authentication is a sample application that implements authentication in Rails 3.2 without the use of a third-party generator or engine. This is essentially a complete reproduction of Ryan Bates' Authentication from Scratch railscast with my addition of RSpec unit and integration tests. In addition to authentication, features include rememberable cookie, password reset, and forwarding to protected routes.

See the 'rails-3.0' tag for a legacy Rails 3.0 implementation.

Dependencies

  • Ruby 1.9+

Getting Started

# install gems, create database.yml config, and setup the database
./bin/setup

# run the test suite
./bin/rake
Something went wrong with that request. Please try again.