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::HasFields#fields

Returns all field configurations for the model configuration instance. If no fields
have been defined returns all fields. Defined fields are sorted to match their
order property. If order was not specified it will match the order in which fields
were defined.

If a block is passed it will be evaluated in the context of each field

Source | Google | Stack overflow

Edit

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

cd rails_admin

open lib/rails_admin/config/has_fields.rb

Contribute

# Make a new branch

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


# Commit to git

git add lib/rails_admin/config/has_fields.rbgit commit -m "better docs for RailsAdmin::Config::HasFields#fields"


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

hub pull-request


# Celebrate!