Skip to content

Instantly share code, notes, and snippets.

@mrnugget
Created April 12, 2012 15:33
Show Gist options
  • Save mrnugget/2368253 to your computer and use it in GitHub Desktop.
Save mrnugget/2368253 to your computer and use it in GitHub Desktop.
Wat?!
# IRB
'0'.respond_to?(:to_datetime) # => false
# rails console
'0'.respond_to?(:to_datetime) # => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment