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