rolify
https://github.com/rolifycommunity/rolify
Ruby
Role management library with resource scoping
ActiveRecord::Generators::RolifyGenerator#prompt_missing_user
No Docs, write some!
Edit
git clone [email protected]:rolifycommunity/rolify.git
cd rolify
open lib/generators/active_record/rolify_generator.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActiveRecord--Generators--RolifyGenerator-prompt_missing_user-for-pr
# Commit to gitgit add lib/generators/active_record/rolify_generator.rbgit commit -m "better docs for ActiveRecord::Generators::RolifyGenerator#prompt_missing_user"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveRecord--Generators--RolifyGenerator-prompt_missing_user-for-pr
hub pull-request
# Celebrate!