[Rails] Re: RubyOnRails with MS SQL - Connectivity Error

2009-01-28 Thread Luke Pearce
> I have also installed the gem dbi-0.4.0 Tony, I would stick with the older version of ADO one of the 2.x series I'm not sure it'll work with the new dbi. Cheers Luke -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message b

[Rails] Re: RubyOnRails with MS SQL - Connectivity Error

2009-01-27 Thread Tony Puthenveettil
Hi Luke, I installed deprecated-2.0.1.gem I have also installed the gem dbi-0.4.0 and placed the ADO.rb file in the location : \lib\ruby\site_ruby\1.8\DBD\ADO and now I'm getting a different error as shown below: * Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute env

[Rails] Re: RubyOnRails with MS SQL - Connectivity Error

2009-01-27 Thread Tony Puthenveettil
Luke Pearce wrote: > iawgens had the answer - you need to install the deprecated gem > > From a command prompt: > gem install deprecated > > See here another person with the same issue > http://stackoverflow.com/questions/130547/setting-up-rails-to-work-with-sqlserver Thanks a lot Luke... Let m

[Rails] Re: RubyOnRails with MS SQL - Connectivity Error

2009-01-27 Thread Luke Pearce
iawgens had the answer - you need to install the deprecated gem >From a command prompt: gem install deprecated See here another person with the same issue http://stackoverflow.com/questions/130547/setting-up-rails-to-work-with-sqlserver -- Posted via http://www.ruby-forum.com/. --~--~-

[Rails] Re: RubyOnRails with MS SQL - Connectivity Error

2009-01-27 Thread Tony Puthenveettil
Hi Luke, PFB the details in database.yml development: adapter: sqlserver database: Test123 username: sa password: t...@123 host: kec4121228d Yes, I have downloaded the sql_adapter and placed it in \lib\ruby\gems\1.8\gems\activerecord-2.1.2\lib\active_record\connection_adapters PFA th

[Rails] Re: RubyOnRails with MS SQL - Connectivity Error

2009-01-24 Thread iawgens
I had a similiar issue but I am developing on Mac OSX, Rails 2.1.2, ruby-dbi 0.40, and a self fork version of sqlserver adapter. I know ruby-dbi 0.40 requires the gem deprecated >= 2.0. Maybe that's what you are missing too. On Jan 23, 8:49 am, Tony Puthenveettil wrote: > Hi all... > Please help

[Rails] Re: RubyOnRails with MS SQL - Connectivity Error

2009-01-24 Thread Luke Pearce
Weird; Whats in your database.yml? I take it you've installed the sqlserver-adapter? >From a command prompt if you run ruby script\server does it die immediately or is it only when you try to find on a model? Cheers Luke -- Posted via http://www.ruby-forum.com/. --~--~-~--~~