rails_admin

https://github.com/railsadminteam/rails_admin

Ruby

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data

RailsAdmin::Config.authenticate_with

Setup authentication to be run as a before filter
This is run inside the controller instance so you can setup any authentication you need to

By default, the authentication will run via warden if available
and will run the default.

If you use devise, this will authenticate the same as _authenticate_user!_

Source | Google | Stack overflow

Edit

git clone [email protected]:railsadminteam/rails_admin.git

cd rails_admin

open lib/rails_admin/config.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RailsAdmin--Config-authenticate_with-for-pr


# Commit to git

git add lib/rails_admin/config.rbgit commit -m "better docs for RailsAdmin::Config.authenticate_with"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-RailsAdmin--Config-authenticate_with-for-pr

hub pull-request


# Celebrate!