diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-01-02 10:07:04 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-01-18 07:04:08 +0900 |
commit | db077e8090623801721d574263c57b2641698e7e (patch) | |
tree | 2597280fdb6775d8394e046b76117b0d2ebf54d9 /activemodel/test/models/blog_post.rb | |
parent | cc0dd1d371868fe34fba6b58d22a8ba0714d8ae7 (diff) | |
download | rails-db077e8090623801721d574263c57b2641698e7e.tar.gz rails-db077e8090623801721d574263c57b2641698e7e.tar.bz2 rails-db077e8090623801721d574263c57b2641698e7e.zip |
Allow using Action Mailbox on MySQL 5.5
Active Record still support MySQL 5.5 which doesn't support datetime
with precision.
https://github.com/rails/rails/blob/9e34df00039d63b5672315419e76f06f80ef3dc4/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb#L99-L101
So we should check `supports_datetime_with_precision?` on the
connection.
Diffstat (limited to 'activemodel/test/models/blog_post.rb')
0 files changed, 0 insertions, 0 deletions