aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-07-04 10:21:20 +0200
committerYves Senn <yves.senn@gmail.com>2013-07-04 10:21:20 +0200
commit8c7c4f77e0a68773ef8c7fda36e154b0b0fb503a (patch)
tree5b8f56916d8ff4613e6289288845b94f55affc36 /activerecord
parent6d554b263b8a31cf28383a140e631f4b537921ba (diff)
downloadrails-8c7c4f77e0a68773ef8c7fda36e154b0b0fb503a.tar.gz
rails-8c7c4f77e0a68773ef8c7fda36e154b0b0fb503a.tar.bz2
rails-8c7c4f77e0a68773ef8c7fda36e154b0b0fb503a.zip
replace artificial space with RDoc markup (follow up #11285). [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/validations/uniqueness.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/validations/uniqueness.rb b/activerecord/lib/active_record/validations/uniqueness.rb
index cfa71a34d0..b55af692d6 100644
--- a/activerecord/lib/active_record/validations/uniqueness.rb
+++ b/activerecord/lib/active_record/validations/uniqueness.rb
@@ -197,8 +197,8 @@ module ActiveRecord
# will result in the default Rails exception page being shown), or you
# 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 .
+ # This technique is also known as
+ # {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