diff --git a/lib/active_record/connection_adapters/sqlserver_adapter.rb b/lib/active_record/connection_adapters/sqlserver_adapter.rb index 6c7e3d6a5..f8179f86f 100644 --- a/lib/active_record/connection_adapters/sqlserver_adapter.rb +++ b/lib/active_record/connection_adapters/sqlserver_adapter.rb @@ -188,6 +188,10 @@ def supports_optimizer_hints? true end + def supports_common_table_expressions? + true + end + def supports_lazy_transactions? true end