diff options
author | Hongli Lai (Phusion) <hongli@phusion.nl> | 2008-09-22 10:16:06 +0200 |
---|---|---|
committer | Hongli Lai (Phusion) <hongli@phusion.nl> | 2008-09-22 10:16:21 +0200 |
commit | 63c7dcfeaac680d6596b72f1619e74f89e538ed4 (patch) | |
tree | c18f609548ced8a7da76ef1e85849f6bd13c7eac /activerecord | |
parent | fb51ccd35f44056b54d13cd67782c50506fd6510 (diff) | |
download | rails-63c7dcfeaac680d6596b72f1619e74f89e538ed4.tar.gz rails-63c7dcfeaac680d6596b72f1619e74f89e538ed4.tar.bz2 rails-63c7dcfeaac680d6596b72f1619e74f89e538ed4.zip |
Change 'racing condition' to 'race condition'.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 73d9b36fc2..8481706074 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -642,7 +642,7 @@ module ActiveRecord # # Using this validation method in conjunction with ActiveRecord::Base#save # does not guarantee the absence of duplicate record insertions, because - # uniqueness checks on the application level are inherently prone to racing + # uniqueness checks on the application level are inherently prone to race # conditions. For example, suppose that two users try to post a Comment at # the same time, and a Comment's title must be unique. At the database-level, # the actions performed by these users could be interleaved in the following manner: @@ -685,7 +685,7 @@ module ActiveRecord # do that efficiently), and thus not recommended. # - Creating a unique index on the field, by using # ActiveRecord::ConnectionAdapters::SchemaStatements#add_index. In the - # rare case that a racing condition occurs, the database will guarantee + # rare case that a race condition occurs, the database will guarantee # the field's uniqueness. # # When the database catches such a duplicate insertion, |