Skip to content

Conversation

@denispeplin
Copy link
Contributor

I had some troubles with encoding. SQL Server 2005, encoding cp1251. I tried to use tsql, it worked. Then I checked version, and found that it worked with tds version 4.2 by default. So I tried to initialize TinyTds::Client with tds_version 42, and it worked fine too. Then, when I put tds_version: '42' into config/database.yml, it did not work, and I found that this option was not passed to TinyTds::Client.new. This small patch is intended to fix this issue.

metaskills added a commit that referenced this pull request Jul 7, 2013
Pass tds_version to TinyTds::Client.new
@metaskills metaskills merged commit 703ed7c into rails-sqlserver:master Jul 7, 2013
@metaskills
Copy link
Member

Thanks, will have v3.2.13 out with this change very shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants