rails

https://github.com/rails/rails

Ruby

Ruby on Rails

ActiveRecord::Generators::MigrationGenerator#db_migrate_path

No Docs, write some!

Source | Google | Stack overflow

Edit

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

cd rails

open activerecord/lib/rails/generators/active_record/migration/migration_generator.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ActiveRecord--Generators--MigrationGenerator-db_migrate_path-for-pr


# Commit to git

git add activerecord/lib/rails/generators/active_record/migration/migration_generator.rbgit commit -m "better docs for ActiveRecord::Generators::MigrationGenerator#db_migrate_path"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-ActiveRecord--Generators--MigrationGenerator-db_migrate_path-for-pr

hub pull-request


# Celebrate!