active_model_serializers
https://github.com/rails-api/active_model_serializers
Ruby
ActiveModel::Serializer implementation and Rails hooks
JavascriptHelper#render_to_js_string
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-JavascriptHelper-render_to_js_string-for-pr
# Commit to gitgit add git commit -m "better docs for JavascriptHelper#render_to_js_string"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-JavascriptHelper-render_to_js_string-for-pr
hub pull-request
# Celebrate!