Skip to content

Instantly share code, notes, and snippets.

Created February 25, 2013 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5030404 to your computer and use it in GitHub Desktop.
Save anonymous/5030404 to your computer and use it in GitHub Desktop.
Weird Time behavior on ActiveRecord
1.9.3p194 :042 > FreeTime.create(starts_at: "12:01:36 -0300")
=> #<FreeTime id: 15, starts_at: "2000-01-01 12:01:36", duration: nil, recurrence: nil, created_at: "2013-02-25 15:01:57", updated_at: "2013-02-25 15:01:57">
1.9.3p194 :044 > FreeTime.first.starts_at
=> 2000-01-01 12:01:36 -0200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment