devise

https://github.com/plataformatec/devise

Ruby

Flexible authentication solution for Rails with Warden.

DeviseController#require_no_authentication

Helper for use in before_actions where no authentication is required.

Example:
  before_action :require_no_authentication, only: :new

Source | Google | Stack overflow

Edit

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

cd devise

open app/controllers/devise_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-DeviseController-require_no_authentication-for-pr


# Commit to git

git add app/controllers/devise_controller.rbgit commit -m "better docs for DeviseController#require_no_authentication"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-DeviseController-require_no_authentication-for-pr

hub pull-request


# Celebrate!