summaryrefslogtreecommitdiff
path: root/lib/mysql_zero_date.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mysql_zero_date.rb')
-rw-r--r--lib/mysql_zero_date.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mysql_zero_date.rb b/lib/mysql_zero_date.rb
index 64634f789da..216560148fa 100644
--- a/lib/mysql_zero_date.rb
+++ b/lib/mysql_zero_date.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# Disable NO_ZERO_DATE mode for mysql in rails 5.
# We use zero date as a default value
# (config/initializers/active_record_mysql_timestamp.rb), in