diff options
author | Sam Davies <seivadmas@gmail.com> | 2015-11-18 11:53:38 -0300 |
---|---|---|
committer | Sam Davies <seivadmas@gmail.com> | 2015-11-18 12:00:58 -0300 |
commit | 5ce21d4f72e72f8acdd5b849425a9475733d4d11 (patch) | |
tree | b0b55117137837f7e280cdffeaede36614032d1c /activerecord/test/cases/adapters/postgresql/composite_test.rb | |
parent | ce37df9cc1f2c3cdc63dc677645bdfec05c787fe (diff) | |
download | rails-5ce21d4f72e72f8acdd5b849425a9475733d4d11.tar.gz rails-5ce21d4f72e72f8acdd5b849425a9475733d4d11.tar.bz2 rails-5ce21d4f72e72f8acdd5b849425a9475733d4d11.zip |
Rename 'key' to 'lock_id' or 'lock_name' for advisory locking
- key was a poor choice of name. A key implies something that will
unlock a lock. The concept is actually more like a 'lock identifier'
- mysql documentation calls this a 'lock name'
- postgres documentation calls it a 'lock_id'
- Updated variable names to reflect the preferred terminology for the database in
question
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql/composite_test.rb')
0 files changed, 0 insertions, 0 deletions