Skip to content

Instantly share code, notes, and snippets.

@durran
Created January 3, 2010 21:19
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 durran/268133 to your computer and use it in GitHub Desktop.
Save durran/268133 to your computer and use it in GitHub Desktop.
#<HelpFile _id: test-help-file, title: Test help file, excerpt: Hello world!..., is_published: true, content: Hello world!, publish_date: Sun Jan 03 20:10:35 UTC 2010>
Mon Jan 04 07:10:35 +1100 2010
#<ActiveSupport::TimeZone:0x1a831e8 @tzinfo=nil, @name="Canberra", @utc_offset=36000>
Time.zone = "Canberra"
@helpfile = HelpFile.create(
:title => "Test help file",
:content => "Hello world!",
:is_published => true,
:publish_date => Time.now.utc
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment