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
GroupDescendant.build_hierarchy
Merges all hierarchies of the given groups or projects into an array of
hashes. All ancestors need to be loaded into the given `descendants` to avoid
queries down the line.
> GroupDescendant.merge_hierarchy([project, child_group, child_group2, parent])
=> { parent => [{ child_group => project}, child_group2] }Edit
git clone [email protected]:railsadminteam/rails_admin.git
cd rails_admin
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GroupDescendant-build_hierarchy-for-pr
# Commit to gitgit add git commit -m "better docs for GroupDescendant.build_hierarchy"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GroupDescendant-build_hierarchy-for-pr
hub pull-request
# Celebrate!