aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-04-11 04:24:13 -0700
committerXavier Noria <fxn@hashref.com>2012-04-11 04:24:13 -0700
commitb79b784f7290fdfab917bb8e44a9477a709318c5 (patch)
tree8fa1f0fe405b74a1eeaf46cc193865f40073a266
parent1c8e222ceac9f5e73b76071559800f00f9ee35db (diff)
parent248fa70ccd42593ddb0d5f76a3b51e86016c527f (diff)
downloadrails-b79b784f7290fdfab917bb8e44a9477a709318c5.tar.gz
rails-b79b784f7290fdfab917bb8e44a9477a709318c5.tar.bz2
rails-b79b784f7290fdfab917bb8e44a9477a709318c5.zip
Merge pull request #5805 from dcurtis/master
Corrected grammatical errors in schema_dumper and scoping/default
-rw-r--r--activerecord/lib/active_record/schema_dumper.rb2
-rw-r--r--activerecord/lib/active_record/scoping/default.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/schema_dumper.rb b/activerecord/lib/active_record/schema_dumper.rb
index 95fd33c1d1..7cbe2db408 100644
--- a/activerecord/lib/active_record/schema_dumper.rb
+++ b/activerecord/lib/active_record/schema_dumper.rb
@@ -55,7 +55,7 @@ module ActiveRecord
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
-# It's strongly recommended to check this file into your version control system.
+# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(#{define_params}) do
diff --git a/activerecord/lib/active_record/scoping/default.rb b/activerecord/lib/active_record/scoping/default.rb
index b0609a8c08..45c34005c3 100644
--- a/activerecord/lib/active_record/scoping/default.rb
+++ b/activerecord/lib/active_record/scoping/default.rb
@@ -31,7 +31,7 @@ module ActiveRecord
# Post.limit(10) # Fires "SELECT * FROM posts LIMIT 10"
# }
#
- # It is recommended to use the block form of unscoped because chaining
+ # It is recommended that you use the block form of unscoped because chaining
# unscoped with <tt>scope</tt> does not work. Assuming that
# <tt>published</tt> is a <tt>scope</tt>, the following two statements
# are equal: the default_scope is applied on both.