adding categories

This commit is contained in:
Jared Cosulich 2017-03-03 16:19:52 -05:00
parent eda41debc0
commit b2e8223a38
21 changed files with 545 additions and 1 deletions

5
app/models/category.rb Normal file
View file

@ -0,0 +1,5 @@
class Category < ApplicationRecord
validates :name, presence: true
end