Skip to content

Instantly share code, notes, and snippets.

@loe
Created December 11, 2008 23:20
Show Gist options
  • Save loe/34934 to your computer and use it in GitHub Desktop.
Save loe/34934 to your computer and use it in GitHub Desktop.
→ irb
>> Time.parse('tomorrow at 8pm')
NoMethodError: undefined method `parse' for Time:Class
from (irb):1
>> require 'active_support'
=> true
>> Time.parse('tomorrow at 8pm')
=> Thu Dec 11 20:00:00 -0800 2008
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment