In the table I have a field updated_on (type :datetime)..I have to
calculate the differnce in hours between that and current time..How can
I do that?
I tried like for example
puts (time1-time2) but it is not working Prints a very large
value..Could you please tell me any easier method?
Thanks in advance