diff options
author | José Corcuera <jzcorcuera@gmail.com> | 2012-09-07 11:17:59 -0500 |
---|---|---|
committer | José Corcuera <jzcorcuera@gmail.com> | 2012-09-07 11:17:59 -0500 |
commit | 6d4bb908b3eb612d673dedbec68359b59c3b735a (patch) | |
tree | 5cfd65e38915923b141444e6acbe7407b80f07f8 /guides/source/active_record_querying.textile | |
parent | 4d33481e1b142e65f27a57fba859e4fb6bdf46c0 (diff) | |
download | rails-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.textile | 2 |
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> |