I am newbie to ruby on rails
. I want to know how to connect Sql server
to the rails application.
Iam working with RoR in windows environment. Is there any link to set up connection with SQL Server
in ROR?
I haven't done it on Windows, but if it's anything like connecting to postgresql on a mac you have to:
gem 'activerecord-sqlserver-adapter', '~> 3.1.0'
rake db:create && rake db:migrate
使用此链接配置SQL Server
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.