Permalink
Browse files

Merge pull request #30954 from berlintam/improve-time-zone-deprecatio…

…n-warning

improve time zone deprecation warning
  • Loading branch information...
eileencodes committed Oct 23, 2017
2 parents 60437e6 + f58c9af commit b39e94002462a0ee8c04975e34585ab495e6db9f
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb
@@ -102,7 +102,7 @@ def create_time_zone_conversion_attribute?(name, cast_type)
config.active_record.time_zone_aware_types = [:datetime]
To silence this deprecation warning, add the following:
To use the new behavior, add the following:
config.active_record.time_zone_aware_types = [:datetime, :time]
MESSAGE

0 comments on commit b39e940

Please sign in to comment.