Suppose I have a standard Post.first.created_at
datetime. Can I compare that directly with a datetime in the format 2009-06-03 16:57:45.608000 -04:00
by doing something like:
Post.first.created_at > Time.parse("2009-06-03 16:57:45.608000 -04:00")
Edit: Both fields are datetimes, not dates.
See Question&Answers more detail:os