Re: [Rails] ActiveRecord::ConnectionNotEstablished

2012-05-02 Thread Ryan Cheung
Use mysql2 gem for 3x version of rails instead of mysql -- Best Regards, Ryan Cheung On Wed, May 2, 2012 at 3:34 PM, Colin Law wrote: > On 1 May 2012 15:18, viicviicviic wrote: > > Hey, I im using Rails 3.2.3 for my app, and everything its ok when I > > run rails s. > > > > But when I go to t

Re: [Rails] ActiveRecord::ConnectionNotEstablished

2012-05-02 Thread Colin Law
On 1 May 2012 15:18, viicviicviic wrote: > Hey, I im using Rails 3.2.3 for my app, and everything its ok when I > run rails s. > > But when I go to the browser i got this: > > ActiveRecord::ConnectionNotEstablished > > And this is the full trace: > > activerecord (3.2.3) lib/activerecord/connectio

[Rails] ActiveRecord::ConnectionNotEstablished

2012-05-01 Thread viicviicviic
Hey, I im using Rails 3.2.3 for my app, and everything its ok when I run rails s. But when I go to the browser i got this: ActiveRecord::ConnectionNotEstablished And this is the full trace: activerecord (3.2.3) lib/activerecord/connection_adapters/abstract/ connection_pool.rb:398:in retrieve_co

Re: [Rails] ActiveRecord::ConnectionNotEstablished

2012-02-26 Thread Colin Law
On 26 February 2012 21:51, rubix Rubix wrote: > Hi, > > I am trying the tutorial in: > http://guides.rubyonrails.org/getting_started.html > when I try to  navigate to http://localhost:3000 after the 4.3 change > I get the error : ActiveRecord::ConnectionNotEstablished > and I don't know how to sol

[Rails] ActiveRecord::ConnectionNotEstablished

2012-02-26 Thread rubix Rubix
Hi, I am trying the tutorial in: http://guides.rubyonrails.org/getting_started.html when I try to navigate to http://localhost:3000 after the 4.3 change I get the error : ActiveRecord::ConnectionNotEstablished and I don't know how to solve it the database.yml file is: adapter => mysql host =>

Re: [Rails] ActiveRecord::ConnectionNotEstablished

2011-12-02 Thread Colin Law
On 1 December 2011 18:17, Abhi wrote: > Hi All, > > I am new in ruby on rail. i have successfully Ruby on Rails setup and > create application but i have run application in browser everytime > display "ActiveRecord::ConnectionNotEstablished " this error . > > I am using ruby 1.9.3 and below my db

[Rails] ActiveRecord::ConnectionNotEstablished

2011-12-01 Thread Abhi
Hi All, I am new in ruby on rail. i have successfully Ruby on Rails setup and create application but i have run application in browser everytime display "ActiveRecord::ConnectionNotEstablished " this error . I am using ruby 1.9.3 and below my db connection. # SQLite version 3.x # gem install s

[Rails] ActiveRecord::ConnectionNotEstablished

2011-10-24 Thread DMAT
Hello I am rather new to Ruby and have been following along with the book "Ruby On Rails 3 Tutorial - Learn Ruby by Example - by Michael Hartl". I am currently in Chapter 3 which discusses static pages. In this chapter, I entered the following command into the prompt: "rails generate controller Pa

Re: [Rails] ActiveRecord::ConnectionNotEstablished error

2010-09-07 Thread radhames brito
try conecty with irb use ActiveRecord::Base.establish_conection( hash_here) the hash for MS SQL server is {:adapter =>"sqlserver", :mode=> "ado", :database=>"db name here", :host=> "host_here" } you need to be able to resolve the host from the machine if you use a name On Tue, Sep 7, 2010 at 1

[Rails] ActiveRecord::ConnectionNotEstablished error

2010-09-07 Thread Bo Pritchard
I've attached my database.yml I've installed gem install activerecord-sqlserver-adapter But when I navigate to a simple page I get the ActiveRecord::ConnectionNotEstablished error Any ideas what I should be checking? Ruby 1.92 Rails 3 Attachments: http://www.ruby-forum.com/attachment/5016/datab