Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An example app which uses Devise
Ruby JavaScript
branch: master

This branch is 28 commits ahead, 1 commit behind maxim:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock
README
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.1.2.

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.