原文:Rails: Validating that start is before stop, DateTime
I am trying to use validates_timeliness to ensure that SliderImage.start is always before SliderImage.stop: class SliderImage < ActiveRecord::Base validates_datetime :start, :stop validates :...