Can set the hotness of a category. For the soon to be implemented "hotness" tab.

This commit is contained in:
Robin Ward
2013-03-26 18:06:21 -04:00
parent 5961ffc0e4
commit af7f6fea28
9 changed files with 738 additions and 46 deletions

View File

@ -0,0 +1,5 @@
class AddHotnessToCategory < ActiveRecord::Migration
def change
add_column :categories, :hotness, :float, default: 5.0, null: false
end
end