Story: return true from recalculate_all_hotnesses!

this is usually called from the console, and true is better than a
giant array of every Story object
This commit is contained in:
joshua stein 2014-07-02 10:09:03 -05:00
parent 452c75908d
commit 270939b5a4

View file

@ -94,6 +94,7 @@ class Story < ActiveRecord::Base
Story.all.order("id DESC").each do |s|
s.recalculate_hotness!
end
true
end
def as_json(options = {})