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

Setup RailsAdmin

Given the first argument is a model class, a model class name
or an abstract model object proxies to model configuration method.

If only a block is passed it is stored to initializer stack to be evaluated
on first request in production mode and on each request in development. If
initialization has already occured (in other words RailsAdmin.setup has
been called) the block will be added to stack and evaluated at once.

Otherwise returns RailsAdmin::Config class.

Source | Google | Stack overflow

Edit

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

cd rails_admin

open lib/rails_admin.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RailsAdmin-config-for-pr


# Commit to git

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


# 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-for-pr

hub pull-request


# Celebrate!