I reinstalled my web app on a new VM, and merged Nginx and Rails on the 
same VM, and I still got the conneciton close problem, but now it 
happens between the Postgresl VM and my rails app one.

So there is definitely a problem between Rails and Postgresql.

Taken from

--
The postgres gem is written in C and is supported by ActiveRecord. The 
last release was 0.7.9 (2008-01-24). Development has been discontinued 
in favor of the pg gem.

The pg gem is the successor of the postgres gem and is also written in 
C. It is currently NOT supported by ActiveRecord. There seems to be a 
patch available here: http://dev.rubyonrails.org/ticket/10948 (I did not 
test it). The last release is 0.8 (2009-03-29), which seems to be a sign 
of active development.
--

I was suing pg gem, so I guess that could be the problem? Basically it 
is not possible to make Rails and Postgresql work properly together?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to