Created
April 5, 2012 19:47
-
-
Save sixfeetover/2313551 to your computer and use it in GitHub Desktop.
Set SQL Server options in rails for tiny_tds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ActiveRecord | |
module ConnectionAdapters | |
class SQLServerAdapter < AbstractAdapter | |
def configure_connection | |
raw_connection_do "set concat_null_yields_null on; set nocount on;" | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment