devise

https://github.com/plataformatec/devise

Ruby

Flexible authentication solution for Rails with Warden.

Devise::Models#devise

Include the chosen devise modules in your model:

  devise :database_authenticatable, :confirmable, :recoverable

You can also give any of the devise configuration values in form of a hash,
with specific values for this model. Please check your Devise initializer
for a complete description on those values.

Source | Google | Stack overflow

Edit

git clone [email protected]:plataformatec/devise.git

cd devise

open lib/devise/models.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Devise--Models-devise-for-pr


# Commit to git

git add lib/devise/models.rbgit commit -m "better docs for Devise::Models#devise"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Devise--Models-devise-for-pr

hub pull-request


# Celebrate!