I set in application.rb
config.time_zone = 'Pacific/Auckland'
config.active_record.default_timezone = :local # Or :utc
But records still are not saving in this timezone
I set in application.rb
config.time_zone = 'Pacific/Auckland'
config.active_record.default_timezone = :local # Or :utc
But records still are not saving in this timezone
Records are always stored in database with UTC time. Your config timezone is just used to display time, not saving.