Skip to content

Instantly share code, notes, and snippets.

@dchelimsky
Last active December 19, 2015 21:58
Show Gist options
  • Save dchelimsky/6023806 to your computer and use it in GitHub Desktop.
Save dchelimsky/6023806 to your computer and use it in GitHub Desktop.
2.0.0-p0 :002 > require 'date'
=> true
2.0.0-p0 :003 > DateTime.parse('2013-01-01') == '2013-01-01'
=> false
2.0.0-p0 :004 > require 'active_support/core_ext.rb'
=> true
2.0.0-p0 :005 > DateTime.parse('2013-01-01') == '2013-01-01'
=> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment