rails

https://github.com/rails/rails

Ruby

Ruby on Rails

ActiveRecord::Migrator#with_advisory_lock_connection

No Docs, write some!

Source | Google | Stack overflow

Edit

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

cd rails

open activerecord/lib/active_record/migration.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ActiveRecord--Migrator-with_advisory_lock_connection-for-pr


# Commit to git

git add activerecord/lib/active_record/migration.rbgit commit -m "better docs for ActiveRecord::Migrator#with_advisory_lock_connection"


# 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--Migrator-with_advisory_lock_connection-for-pr

hub pull-request


# Celebrate!