Forgot self.

This commit is contained in:
Raphael Sofaer 2011-04-05 10:38:58 -07:00
parent 8d3f4609a3
commit ed79cb5ded

View file

@ -56,7 +56,7 @@ SQL
SQL
end
def pv_count
def self.pv_count
@pv_count ||= execute('SELECT count(*) FROM post_visibilities').to_a.first.first
end