active_model_serializers
https://github.com/rails-api/active_model_serializers
Ruby
ActiveModel::Serializer implementation and Rails hooks
Trends::History::Day#as_json
No Docs, write some!
Edit
git clone [email protected]:rails-api/active_model_serializers.git
cd active_model_serializers
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Trends--History--Day-as_json-for-pr
# Commit to gitgit add git commit -m "better docs for Trends::History::Day#as_json"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Trends--History--Day-as_json-for-pr
hub pull-request
# Celebrate!