ActiveRecord::Base
# 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