On May 5, 2015, at 10:37 AM, ganesh akella <[email protected]> wrote:
> 
> Can anyone help me regarding the database.yml file on connecting to sql 
> server.
> And is it the only file which I need to look into or are there any other 
> files which needs to be modified.? 
> I tried to follow the instructions in some of the web forums suggesting to 
> fix this, but I am getting an error when I give "rails console" command.
> I am trying to create a model and I am not able to do this. 

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.

2) Once you have that installed, then yes, that single .yml file is the only 
one you need to modify.

3) In the future, please just copy and paste errors rather than sending us off 
to a website with a screen capture.

-- 
Scott Ribe
[email protected]
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice





-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/478CA77D-9B8D-41EB-AC45-43AF9F27F89A%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to