validates_presence_of :game_genre
validates_presence_of :platform
+ def genre
+ return Gamegenre.find(game_genre).name
+ end
+
+ def game_platform
+ return Gameplatform.find(platform).name
+ end
+
def calculated_price
# FIXME: generate this based on day of week, newrelease
day_of_week = Time.now.to_date.wday