devise
https://github.com/plataformatec/devise
Ruby
Flexible authentication solution for Rails with Warden.
Devise.add_mapping
Small method that adds a mapping to Devise.
Edit
git clone [email protected]:plataformatec/devise.git
cd devise
open lib/devise.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Devise-add_mapping-for-pr
# Commit to gitgit add lib/devise.rbgit commit -m "better docs for Devise.add_mapping"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Devise-add_mapping-for-pr
hub pull-request
# Celebrate!