aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRizwan Reza <rizwanreza@gmail.com>2010-06-16 23:53:10 +0430
committerRizwan Reza <rizwanreza@gmail.com>2010-06-16 23:53:10 +0430
commit35e3f72af29a33189a46a4b5ada84768b87e0ef2 (patch)
tree810264489a7720759656fa174111ad98956a436d /activerecord
parentf09736bc0f726483e9de4288b2449f3b2f3b76ab (diff)
downloadrails-35e3f72af29a33189a46a4b5ada84768b87e0ef2.tar.gz
rails-35e3f72af29a33189a46a4b5ada84768b87e0ef2.tar.bz2
rails-35e3f72af29a33189a46a4b5ada84768b87e0ef2.zip
Adds backslash to scope for cross-references.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/named_scope.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/named_scope.rb b/activerecord/lib/active_record/named_scope.rb
index 096b9da402..47eef9535e 100644
--- a/activerecord/lib/active_record/named_scope.rb
+++ b/activerecord/lib/active_record/named_scope.rb
@@ -19,7 +19,7 @@ module ActiveRecord
# fruits = fruits.where(:colour => 'red') if options[:red_only]
# fruits = fruits.limit(10) if limited?
#
- # Anonymous scopes tend to be useful when procedurally generating complex
+ # Anonymous \scopes tend to be useful when procedurally generating complex
# queries, where passing intermediate values (scopes) around as first-class
# objects is convenient.
#