Example App using devise. github.com/plataformatec/devise
Install warden and devise gems if you don’t have them installed:
sudo gem install rails -v=2.3.5 sudo gem install warden -v=0.10.4 sudo gem install devise -v=1.0.7 sudo gem install rails-footnotes -v=3.6.5
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 2009 Plataforma Tecnologia. blog.plataformatec.com.br