Example App using devise. github.com/plataformatec/devise
Install warden gem if you don’t have it installed:
sudogeminstallwarden
Use git submodule to update devise inside vendor/plugins:
git submodule init && git submodule update
Rake devise setup task:
rakedevise: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.
The example is using “rails-footnotes”:github.com/josevalim/rails-footnotes gem. If you don’t have it installed, run the following command to install the gem:
sudogeminstalljosevalim-rails-footnotes
If you don’t want to install this gem, just comment the line in the environment.rb file.
MIT License. Copyright 2009 Plataforma Tecnologia. blog.plataformatec.com.br