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