タイムゾーンの設定
application.rbに、タイムゾーンの設定を追記します。
【例】
application.rb
〜省略〜
# Initialize configuration defaults for originally generated Rails version.
config.time_zone = 'Tokyo' #追記
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.
〜省略〜