github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

plataformatec / devise_example

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 86
    • 5
  • Source
  • Commits
  • Network (5)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

An example app which uses Devise — Read more

  cancel

http://blog.plataformatec.com.br/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

No need for users controller anymore. 
josevalim (author)
Mon Feb 08 15:14:03 -0800 2010
commit  18245d9b3a0d2531879bd8aae025b50abf2dc297
tree    c417a4d1c159d311d1254c6fb83bd1c8c72d84cd
parent  172d69cbd1695bae5100c58c6d25878c0af31579
devise_example /
name age
history
message
file .gitignore Mon Sep 28 15:26:14 -0700 2009 Tests with authentication controller. [carlosantoniodasilva]
file README.rdoc Fri Jan 22 12:28:33 -0800 2010 Updating to 0.9: using :notice/alert as flash m... [carlosantoniodasilva]
file Rakefile Wed Sep 16 05:59:36 -0700 2009 First commit [carlosantoniodasilva]
directory app/ Mon Feb 08 15:14:03 -0800 2010 No need for users controller anymore. [josevalim]
directory config/ Mon Feb 08 15:14:03 -0800 2010 No need for users controller anymore. [josevalim]
directory db/ Mon Feb 08 15:14:03 -0800 2010 No need for users controller anymore. [josevalim]
directory doc/ Wed Sep 16 05:59:36 -0700 2009 First commit [carlosantoniodasilva]
directory lib/ Mon Oct 12 20:36:11 -0700 2009 Improving readme and adding db:drop to setup. [carlosantoniodasilva]
directory public/ Fri Jan 22 12:28:33 -0800 2010 Updating to 0.9: using :notice/alert as flash m... [carlosantoniodasilva]
directory script/ Wed Sep 16 05:59:36 -0700 2009 First commit [carlosantoniodasilva]
directory test/ Sat Oct 10 05:33:45 -0700 2009 Tests with another model. [carlosantoniodasilva]
README.rdoc

Devise Example

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

Installation

Install warden and devise gems if you don’t have them installed:

  sudo gem install warden devise

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 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

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server