working on questions and categories

This commit is contained in:
Jared Cosulich 2017-03-03 22:00:07 -05:00
parent b2e8223a38
commit 9558aa05ec
25 changed files with 1633 additions and 2 deletions

View file

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