أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
that is a precious stuff
You need to get a Gem for that . try below
https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/wiki/Using-TinyTds
or SQL adaptor directly
gem install activerecord-sqlserver-adapter --source=http://gems.rubyonrails.org