I followed the instruccions from here https://github.com/rails-sqlserver/activerecord-sqlserver-adapter#set...
I wanted to disable the Unicode Types, so i added this to my initializers
# Disabled
ActiveRecord::ConnectionAdapters::SQLServerAdapter.enable_default_unicode_t ypes = false
ActiveRecord::ConnectionAdapters::SQLServerAdapter.native_text_database_typ e = 'varchar(max)'
ActiveRecord::ConnectionAdapters::SQLServerAdapter.native_string_database_t ype = 'varchar'
The strings gets varchar(255) but the text fields gets nvarchar(max) and i'm having encoding issues with the nvarchar type.
I don't know why the native_text_database property isn't working
Thanks in advance
Greetings
Jose