Decent Authentication

Rails authentication from scratch

Download .zip Download .tar.gz View on GitHub

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 and password reset.

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

Getting Started

cp config/database.postgres.yml config/database.yml
rake setup
bundle exec rake