21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-26 05:50:50 +02:00

Add comment for ActiveRecord#skip_time_zone_conversion_for_attributes

This commit is contained in:
Jérémy Lecour 2019-08-20 01:14:50 +02:00
parent e9de5d5c32
commit 29d9a02a06

View file

@ -44,6 +44,8 @@ class Check < ApplicationRecord
enum kind: [:domain, :ssl]
enum mode: [:auto, :manual]
# Those dates are written as UTC,
# but not converted back when read from the database
self.skip_time_zone_conversion_for_attributes = [
:domain_created_at,
:domain_updated_at,