Displaying 1 result from an estimated 1 matches for "postgresql_ada".
PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?
2013 May 01
3
PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?
...e.
But PG virsion of Rails works diffidently. I cannot generate a model
without PG server running:
>> C:\ruby\Heroku\App>rails generate model Products
>>
>> C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-
>> 3.2.13/lib/active_record/connection_adapters/postgresql_ada
>> pter.rb:1216:in `initialize'': could not connect to server: Connection
>> refused (0x0000274D/10061) (PG::Error)
>> Is the server running on host "localhost" (127.0.0.1) and accepting
>> TCP/IP connections on port 5432?
I even couldn'&...