RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Change Rails timezone, but continue to have Active Record save in the database in UTC
# application.rb config.time_zone = 'Eastern Time (US & Canada)'
Change Rails timezone AND have Active Record store times in this timezone
# application.rb config.time_zone = 'Eastern Time (US & Canada)' config.active_record.default_timezone = :local
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website