On 15 April 2011 19:41, David Kahn <[email protected]> wrote: > This cant be so hard but feeling rather annoyed with myself for thinking I > can do the following: > > DateTime.now + 1.day > > Is there any easy way to do this?
I prefer to use .since and .ago: DateTime.now.since(1.day) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

