class Show

Public Instance Methods

validate() click to toggle source
# File app/models/show.rb, line 11
def validate
  if delivery_date < production_date
    errors.add(:delivery_date, 
               "must be older than the Production Date")
  end
end