From 6e9d5f013a75f95c0de69524c224f223ba7459c8 Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Wed, 8 Feb 2012 06:19:59 -0800 Subject: [PATCH] Fixes #2820 by disambiguating which Person class we want --- lib/stream/tag.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stream/tag.rb b/lib/stream/tag.rb index c96d4d721..0c96e0a23 100644 --- a/lib/stream/tag.rb +++ b/lib/stream/tag.rb @@ -24,11 +24,11 @@ class Stream::Tag < Stream::Base end def tagged_people - @people ||= Person.profile_tagged_with(tag_name).paginate(:page => people_page, :per_page => 15) + @people ||= ::Person.profile_tagged_with(tag_name).paginate(:page => people_page, :per_page => 15) end def tagged_people_count - @people_count ||= Person.profile_tagged_with(tag_name).count + @people_count ||= ::Person.profile_tagged_with(tag_name).count end def posts