rails
https://github.com/rails/rails
Ruby
Ruby on Rails
ActiveModel::Errors#to_h
No Docs, write some!
Edit
git clone [email protected]:rails/rails.git
cd rails
open activemodel/lib/active_model/errors.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActiveModel--Errors-to_h-for-pr
# Commit to gitgit add activemodel/lib/active_model/errors.rbgit commit -m "better docs for ActiveModel::Errors#to_h"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveModel--Errors-to_h-for-pr
hub pull-request
# Celebrate!