diff options
| author | Andrew White <andyw@pixeltrix.co.uk> | 2012-12-11 06:32:28 +0000 |
|---|---|---|
| committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-12-11 06:32:28 +0000 |
| commit | 331a82a1c8ec25cd8df3297b434cbb7cc020207a (patch) | |
| tree | 7f54ce727d850323413ab0fe6e109359d9549a72 /guides/code/getting_started/lib/tasks | |
| parent | 377692e9410922bc508fafb42602187728d421e7 (diff) | |
| download | rails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.tar.gz rails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.tar.bz2 rails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.zip | |
Add String#in_time_zone method
This commit adds a convenience method for converting a string to an
ActiveSupport::TimeWithZone instance using the configured Time.zone or
another passed as an argument.
Diffstat (limited to 'guides/code/getting_started/lib/tasks')
0 files changed, 0 insertions, 0 deletions
