Skip to content

Commit

Permalink
Explicitly specify root namespace for Person, so it won't be confused…
Browse files Browse the repository at this point in the history
… with Stream::Person in this context.
  • Loading branch information
Pistos committed Jan 10, 2012
1 parent 3f70bc4 commit c4db9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stream/tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def tagged_people
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
Expand Down

0 comments on commit c4db9c4

Please sign in to comment.