search for: sale_start

Displaying 1 result from an estimated 1 matches for "sale_start".

Did you mean: safe_start
2008 Apr 25
0
Date validation :before -1 day
I really liked the tool but I have got stuck in one case. I am in urgent need of your help regarding validates_date :sale_start, :before => :sale_end, :after => Proc.new { -1.day.from_now.to_date } validates_date :sale_end, :after => [:sale_start , Proc.new { -1.day.from_now.to_date }], This is Okay but there may be the same date as of sale_end. Means...