I had two fields in my form i.e start and end time fields, i am
validating times but i am not reflecting the error message at the
field, what should i have to do to diplay the error as "start time
should be before end time".
please help me
if start_time >= end_time
self.errors.add :start_time, 'has to be before end time'