Skip to content

Instantly share code, notes, and snippets.

View clarkware's full-sized avatar

Mike Clark clarkware

View GitHub Profile
Orbiter:dailyshoot duncan$ rails c
Loading development environment (Rails 3.0.0)
# To set up this discussion, here's the time I'm running these examples at.
# It's almost 7PM Pacific on Weds, Sept 22.
ruby-1.9.2-p0 > Time.now
=> 2010-09-22 18:56:57 -0700
# Date.today is a Ruby core method. It does what you'd think