Example App using devise. http://github.com/plataformatec/devise
Install bundler if you haven't yet:
gem install bundler
Install the gems:
bundle install
This will install Rails 4.0.0, sqlite3 gem and Devise.
Rake devise setup task:
rake devise:setup
This will:
- drop any existing database
- create a new database
- migrate the database
- create a default user and admin
Run the server and use the credentials provided by the rake task to sign in and test the application.
MIT License. Copyright 2010-2013 Plataforma Tecnologia. http://blog.plataformatec.com.br