@a = a Date
@b = Todays date
In my project I want to confirm @b is not more than 1 day from @a.
means when a user registered at @a he want to activate his account within 1 day.How can we do that..Am using Ruby on rails 2.3.8
NB: Ask me if u didn’t get my question
or just
and the best one (rails way, I think)