aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/subscriber.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-01-02 10:07:04 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-01-18 07:04:08 +0900
commitdb077e8090623801721d574263c57b2641698e7e (patch)
tree2597280fdb6775d8394e046b76117b0d2ebf54d9 /activesupport/lib/active_support/subscriber.rb
parentcc0dd1d371868fe34fba6b58d22a8ba0714d8ae7 (diff)
downloadrails-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 'activesupport/lib/active_support/subscriber.rb')
0 files changed, 0 insertions, 0 deletions