From 4687e59d5c941f57e39376d2011ce811eb18d47a Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Mon, 23 Nov 2015 21:13:03 +0000 Subject: [PATCH] Support supports_datetime_with_precision? for sqlite3 --- .../lib/active_record/connection_adapters/sqlite3_adapter.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb index 72ca909b02..163cbb875f 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -129,6 +129,10 @@ module ActiveRecord true end + def supports_datetime_with_precision? + true + end + def active? @active != false end