aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_querying.textile
diff options
context:
space:
mode:
authorJosé Corcuera <jzcorcuera@gmail.com>2012-09-07 11:17:59 -0500
committerJosé Corcuera <jzcorcuera@gmail.com>2012-09-07 11:17:59 -0500
commit6d4bb908b3eb612d673dedbec68359b59c3b735a (patch)
tree5cfd65e38915923b141444e6acbe7407b80f07f8 /guides/source/active_record_querying.textile
parent4d33481e1b142e65f27a57fba859e4fb6bdf46c0 (diff)
downloadrails-6d4bb908b3eb612d673dedbec68359b59c3b735a.tar.gz
rails-6d4bb908b3eb612d673dedbec68359b59c3b735a.tar.bz2
rails-6d4bb908b3eb612d673dedbec68359b59c3b735a.zip
default scope should return an ActiveRecord::Relation [ci skip]
Diffstat (limited to 'guides/source/active_record_querying.textile')
-rw-r--r--guides/source/active_record_querying.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.textile b/guides/source/active_record_querying.textile
index 671253709a..9f18a8c90d 100644
--- a/guides/source/active_record_querying.textile
+++ b/guides/source/active_record_querying.textile
@@ -1163,7 +1163,7 @@ If you need to do more complex things with a default scope, you can alternativel
<ruby>
class Client < ActiveRecord::Base
def self.default_scope
- # Should return a scope
+ # Should return an ActiveRecord::Relation
end
end
</ruby>