We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d1c0f commit 7dcff73Copy full SHA for 7dcff73
README.md
@@ -105,16 +105,14 @@ configuration then implement the `configure_connection` method in an initializer
105
example we are setting the `TEXTSIZE` to 64 megabytes.
106
107
```ruby
108
-module ActiveRecord
109
- module ConnectionAdapters
110
- class SQLServerAdapter < AbstractAdapter
111
- def configure_connection
112
- super
113
- @raw_connection.execute("SET TEXTSIZE #{64.megabytes}").do
114
- end
+ActiveRecord::ConnectionAdapters::SQLServerAdapter.prepend(
+ Module.new do
+ def configure_connection
+ super
+ @raw_connection.execute("SET TEXTSIZE #{64.megabytes}").do
115
end
116
117
-end
+)
118
```
119
120
#### Configure Application Name
0 commit comments