5 validates_presence_of :director
6 validates_presence_of :video_genre
7 validates_presence_of :media
10 # FIXME: generate this based on day of week, newrelase
15 # FIXME: generate this based on the day of week, newrelease
16 return Time.now.advance(:days => 2).to_date
21 errors.add(:video_genre, "does not exist in the database") if video_genre.nil?
22 errors.add(:media, "does not exist in the database") if media.nil?