-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
+
+ def calculated_price
+ # FIXME: generate this based on day of week, newrelase
+ return 11
+ end
+
+ def due_date
+ # FIXME: generate this based on the day of week, newrelease
+ return Time.now.advance(:days => 2).to_date
+ end
+
end