awesome_print
https://github.com/awesome-print/awesome_print
Ruby
Pretty print your Ruby objects with style -- in full color and with proper indentation
AwesomePrint::ActiveRecord#cast_with_active_record
No Docs, write some!
Edit
git clone [email protected]:awesome-print/awesome_print.git
cd awesome_print
open lib/awesome_print/ext/active_record.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-AwesomePrint--ActiveRecord-cast_with_active_record-for-pr
# Commit to gitgit add lib/awesome_print/ext/active_record.rbgit commit -m "better docs for AwesomePrint::ActiveRecord#cast_with_active_record"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-AwesomePrint--ActiveRecord-cast_with_active_record-for-pr
hub pull-request
# Celebrate!