state_machine
https://github.com/pluginaweek/state_machine
Ruby
Adds support for creating state machines for attributes on any Ruby class
ProjectTeam#max_member_access_for_user_ids
Determine the maximum access level for a group of users in bulk. Returns a Hash mapping user ID -> maximum access level.
Edit
git clone [email protected]:pluginaweek/state_machine.git
cd state_machine
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ProjectTeam-max_member_access_for_user_ids-for-pr
# Commit to gitgit add git commit -m "better docs for ProjectTeam#max_member_access_for_user_ids"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ProjectTeam-max_member_access_for_user_ids-for-pr
hub pull-request
# Celebrate!