rails

https://github.com/rails/rails

Ruby

Ruby on Rails

ActiveModel::Type::Value#as_json

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:rails/rails.git

cd rails

open activemodel/lib/active_model/type/value.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ActiveModel--Type--Value-as_json-for-pr


# Commit to git

git add activemodel/lib/active_model/type/value.rbgit commit -m "better docs for ActiveModel::Type::Value#as_json"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-ActiveModel--Type--Value-as_json-for-pr

hub pull-request


# Celebrate!