diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-07-04 01:08:04 -0700 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-07-04 01:08:04 -0700 |
commit | 715603794c965abe54569dd392b886d4dde61062 (patch) | |
tree | 85cb396f5f776e42d1d07d163fbaab1ba1abc711 /activerecord | |
parent | c91d266cdfcdc15d101d3d4360ef6c5a730d36e9 (diff) | |
parent | 962925bffd27e5fe9c458fc81e348b890fb5be95 (diff) | |
download | rails-715603794c965abe54569dd392b886d4dde61062.tar.gz rails-715603794c965abe54569dd392b886d4dde61062.tar.bz2 rails-715603794c965abe54569dd392b886d4dde61062.zip |
Merge pull request #11285 from ankit8898/master
Fixing the broken wikipedia link for Optimistic Concurrency control [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/validations/uniqueness.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/validations/uniqueness.rb b/activerecord/lib/active_record/validations/uniqueness.rb index 52e46e1ffe..cfa71a34d0 100644 --- a/activerecord/lib/active_record/validations/uniqueness.rb +++ b/activerecord/lib/active_record/validations/uniqueness.rb @@ -198,7 +198,7 @@ module ActiveRecord # can catch it and restart the transaction (e.g. by telling the user # that the title already exists, and asking him to re-enter the title). # This technique is also known as optimistic concurrency control: - # http://en.wikipedia.org/wiki/Optimistic_concurrency_control. + # http://en.wikipedia.org/wiki/Optimistic_concurrency_control . # # The bundled ActiveRecord::ConnectionAdapters distinguish unique index # constraint errors from other types of database errors by throwing an |