Fixes #2820 by disambiguating which Person class we want

This commit is contained in:
Sarah Mei 2012-02-08 06:19:59 -08:00
parent a819f38b99
commit 6e9d5f013a

View file

@ -24,11 +24,11 @@ class Stream::Tag < Stream::Base
end end
def tagged_people 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 end
def tagged_people_count def tagged_people_count
@people_count ||= Person.profile_tagged_with(tag_name).count @people_count ||= ::Person.profile_tagged_with(tag_name).count
end end
def posts def posts