Move checkedout? method to the Rentable superclass
[cs356-p2-videostore.git] / app / models / game.rb
index 9880b04..0ca782b 100644 (file)
@@ -1,7 +1,5 @@
-class Game < ActiveRecord::Base
-  has_one :rentable
-
-  validates_presence_of :title
-  validates_presence_of :genre
+class Game < Rentable
+  validates_presence_of :game_genre
   validates_presence_of :platform
+
 end