html optimization

This commit is contained in:
albert
2013-01-14 12:50:07 -05:00
parent 3c0a05fc79
commit 055ed2aba1
3 changed files with 7 additions and 7 deletions

View File

@@ -571,7 +571,7 @@ class Post < ActiveRecord::Base
count = Cache.get(count_cache_key(tags))
if count.nil?
count = select_value("SELECT post_count FROM tags WHERE name = ?", tags.to_s)
count = select_value_sql("SELECT post_count FROM tags WHERE name = ?", tags.to_s)
end
count