Created
January 3, 2010 21:19
-
-
Save durran/268133 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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