-
Notifications
You must be signed in to change notification settings - Fork 565
Description
Activerecord-sqlserver-adapter throws the following error at me:
/gems/activerecord-sqlserver-adapter-3.2.14/lib/active_record/connection_adapters/sqlserver/database_statements.rb:139:in block in user_options': undefined method
gsub' for ["textsize", "2147483647"]:Array (NoMethodError)
I have tried this on ruby-2.1.10, ruby-2.2.6 and ruby-2.3.3, same result.
My database.yml file looks like this
development:
adapter: sqlserver
mode: dblib
dataserver: my_server
database: my_database
username: my_username
password: xxxxxx
timeout: 0
My Gemfile looks like this:
source 'https://rubygems.org'
gem 'rails', '3.2.22.5'gem 'tiny_tds', '
> 1.1'> 3.2.14"
gem "activerecord-sqlserver-adapter", "group :assets do
gem 'sass-rails', '> 3.2.3'> 3.2.1'
gem 'coffee-rails', 'gem 'uglifier', '>= 1.0.3'
endgem 'jquery-rails'
The application has nothing else in it, to isolate the problem. The error is thrown when I attempt to start a console. FreeTDS and Tinytds have been tested and work just fine.