devise
https://github.com/plataformatec/devise
Ruby
Flexible authentication solution for Rails with Warden.
Devise::Strategies::Base#mapping
Checks if a valid scope was given for devise and find mapping based on this scope.
Edit
git clone [email protected]:plataformatec/devise.git
cd devise
open lib/devise/strategies/base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Devise--Strategies--Base-mapping-for-pr
# Commit to gitgit add lib/devise/strategies/base.rbgit commit -m "better docs for Devise::Strategies::Base#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--Strategies--Base-mapping-for-pr
hub pull-request
# Celebrate!