rails 3.2.2 で確認。
config/application.rb
config.time_zone = 'Tokyo'
合わせて ActiveRecord 使用時に DB に書かれる時刻も合わせたい場合は以下も追加
config/application.rb
config.active_record.default_timezone = :local
Go to list of users who liked
More than 5 years have passed since last update.
rails 3.2.2 で確認。
config.time_zone = 'Tokyo'
合わせて ActiveRecord 使用時に DB に書かれる時刻も合わせたい場合は以下も追加
config.active_record.default_timezone = :local
Register as a new user and use Qiita more conveniently
Go to list of users who liked