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
branch: 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
.gitignore
README.rdoc
Rakefile

README.rdoc

Devise Example

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

Installation

Install warden gem if you don't have it installed:

sudo gem install warden

Use git submodule to update devise inside vendor/plugins:

git submodule init && git submodule update

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.

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:

sudo gem install josevalim-rails-footnotes

If you don't want to install this gem, just comment the line in the environment.rb file.

License

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

Something went wrong with that request. Please try again.