Switch to a single joined table for Videos and Games
[cs356-p2-videostore.git] / app / models / rentable.rb
index faef2c5..cccbb57 100644 (file)
@@ -1,6 +1,6 @@
 class Rentable < ActiveRecord::Base
-  belongs_to :coitem # FIXME: I hunch this is wrong
+  has_many :coitem
 
   validates_presence_of :title
-  validates_presence_of :genre
+  # don't validate newrelease, false is ok
 end