Ruby on Rails Thursday, May 7, 2015

> Can anyone help me regarding the database.yml file on connecting to sql server. 

> 1) It looks like you have not installed a connection adapter for SQL Server. Rails does not automatically come with adapters for all databases. I don't > use it myself, but googling for "ruby on rails microsoft sql server" gets the adapter as the first hit, followed by a number of articles giving advice. 

You need the ActiveRecord-SqlServer-Adapter: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter
and the TinyTDS gem: https://github.com/rails-sqlserver/tiny_tds
 


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7d031bca-7093-4bce-993c-2402499ba5b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment