aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorHongli Lai (Phusion) <hongli@phusion.nl>2008-09-20 14:14:44 +0200
committerHongli Lai (Phusion) <hongli@phusion.nl>2008-09-20 14:14:44 +0200
commit3efea3df4fcccea7cf6b85bee127cbc549f5685b (patch)
tree959aa0d91efeb2c988b69c79d979c5abc5047cd4 /activerecord
parent0e8abd2d09277ef785b1a1b0e680c4f69cd9dee7 (diff)
downloadrails-3efea3df4fcccea7cf6b85bee127cbc549f5685b.tar.gz
rails-3efea3df4fcccea7cf6b85bee127cbc549f5685b.tar.bz2
rails-3efea3df4fcccea7cf6b85bee127cbc549f5685b.zip
Fix typo.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/validations.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb
index 64cbc4f2b0..3aa3f53e50 100644
--- a/activerecord/lib/active_record/validations.rb
+++ b/activerecord/lib/active_record/validations.rb
@@ -680,9 +680,9 @@ module ActiveRecord
# saving. However, table locking is very expensive, and thus not
# recommended.
# - By locking a lock file before validating, and unlocking it after saving.
- # This does not work if you've Rails application across multiple web
- # servers (because they cannot share lock files, or cannot do that
- # efficiently), and thus not recommended.
+ # This does not work if you've scaled your Rails application across
+ # multiple web servers (because they cannot share lock files, or cannot
+ # 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