🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

devise_couch

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devise_couch

1.0.0.beta1
Rubygems
Version published
Maintainers
1
Created
Source

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'
  gem 'couchrest_extended_document'
  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 (c) 2010 Shenouda Bertel MobiThought. See LICENSE for details.

FAQs

Package last updated on 15 Sep 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

OSZAR »