diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2016-03-24 17:35:39 +0200 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2016-03-24 17:41:56 +0200 |
commit | 05244fa7d79fb84a1a6e3f6948ad389157fb64e1 (patch) | |
tree | 17b7a1c1f5724319ea49b51cd39414295e55e81e /version.rb | |
parent | 00a0388adcb2a09cb811ee9659636a154c36bca5 (diff) | |
download | rails-05244fa7d79fb84a1a6e3f6948ad389157fb64e1.tar.gz rails-05244fa7d79fb84a1a6e3f6948ad389157fb64e1.tar.bz2 rails-05244fa7d79fb84a1a6e3f6948ad389157fb64e1.zip |
Fix a tip in Active Record time attributes deprecation
I have hit this deprecation in a newly created Rails 5 application and
the suggested tip lead me to a `NoMethodError`.
It's not trivial to actually make the following work, because of the
ActiveRecord::Base class attributes setting dance in the Active Record
railtie.
config.active_record.time_zone_aware_types << :time
Decided to suggest setting it explicitly to the values we need.
[ci skip]
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions