GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shenoudab/devise_couch: CouchDB integration for Devise framework

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
Gemfile
Gemfile
 
 
MIT-LICENSE
MIT-LICENSE
 
 
README.markdown
README.markdown
 
 
Rakefile
Rakefile
 
 
devise_couch.gemspec
devise_couch.gemspec
 
 

Repository files navigation

DeviseCouch for Devise and CouchrestModel

devise_couch will let you use devise with CocuhrestModel.

Installation

Add devise, devise_couch and couchrest_model gems to your Gemfile (your Rails app Gemfile). The following gems are required

  gem 'couchrest_model'
  gem 'devise'
  gem 'devise_couch'
  gem 'rails3-generators', :git => 'git://github.com/shenoudab/rails3-generators.git'

Use bundler to install all required gems in your Rails 3 app

bundle install

Run the generator:

rails generate devise:install

The generator will install an initializer which describes ALL Devise's configuration options and you MUST take a look at it. Make sure to specify either couchrest_model (ActiveModel::Validations) as the orm in the configuration file.

To add Devise to any of your models using the generator:

rails generate couchrest_model:devise MODEL

Example: create a User model for use with Devise

rails generate couchrest_model:devise User

Read the README for devise at devise README

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Thanks

Kristian Mandrup - - Created the mm-devise gem which was used as a template for the development of this gem. Also made suggestions for a few critical fixes and improvements in the code. Thanks :)

Jared Morgan - Created the dm-devise gem which was used as a template for the development of this gem. Also made suggestions for a few critical fixes and improvements in the code. Thanks :)

Bugs and Feedback

For devise_couch specific issues, please create an issue on GitHub at: devise_couch issues

Copyright

Copyright (c) 2010 Shenouda Bertel MobiThought. See LICENSE for details.

About

CouchDB integration for Devise framework

mobithought.com

Resources

Readme
MIT license
Activity

Stars

31 stars

Watchers

2 watching

Forks

20 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.