-
Rails 7.1 Support
The adapter supports new Rails 7.1 features such as composite primary keys. See the Rails 7.1 release notes for more information.
-
Configure Connection
If you require additional connection configuration you now need to call
super
within theconfigure_connection
method so that the default configuration is also applied.v7.1.x adapter:
module ActiveRecord module ConnectionAdapters class SQLServerAdapter < AbstractAdapter def configure_connection super raw_connection_do "SET TEXTSIZE #{64.megabytes}" end end end end
v7.0.x adapter:
module ActiveRecord module ConnectionAdapters class SQLServerAdapter < AbstractAdapter def configure_connection raw_connection_do "SET TEXTSIZE #{64.megabytes}" end end end end
Please check 7-0-stable for previous changes.