Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,14 @@ configuration then implement the `configure_connection` method in an initializer
example we are setting the `TEXTSIZE` to 64 megabytes.

```ruby
module ActiveRecord
module ConnectionAdapters
class SQLServerAdapter < AbstractAdapter
def configure_connection
super
@raw_connection.execute("SET TEXTSIZE #{64.megabytes}").do
end
ActiveRecord::ConnectionAdapters::SQLServerAdapter.prepend(
Module.new do
def configure_connection
super
@raw_connection.execute("SET TEXTSIZE #{64.megabytes}").do
end
end
end
)
```

#### Configure Application Name
Expand Down
Loading