Skip to content
main Ruby on Rails app
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
public
script
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru

README.rdoc

Devise Example for Rails 3

Example App using devise. github.com/plataformatec/devise

Installation

Install bundler if you haven't yet:

gem install bundler

Install the gems:

bundle install

This will install Rails 3, sqlite3-ruby gem and Devise 1.3.1.

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.

License

MIT License. Copyright 2010 Plataforma Tecnologia. blog.plataformatec.com.br

Something went wrong with that request. Please try again.