I''m not sure about the reason why I get this exception. It''s about 4 days that I''m successfully using Postgres with Rails but by now the things stop to work. Here''s what I got: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. : SELECT * FROM pastes ORDER BY created_on DESC LIMIT 20 app/controllers/paste_controller.rb:13:in `show'' script/server:48 and here the full framework trace: http://rafb.net/paste/results/MjDMMN48.html Postgres log doesn''t seem to to show errors/problems I''m using Rails 0.12.1 with WebRick and PostgreSQL 7.4.7 -- Lawrence http://www.oluyede.org/blog
> app/controllers/paste_controller.rb:13:in `show'' > script/server:48the show actions contains a simple and straightforward Foo.find(:all, blah blah) Haven''t change it by days... Also tried directly with psql and all works -- Lawrence http://www.oluyede.org/blog
Lawrence Oluyede wrote:>Postgres log doesn''t seem to to show errors/problems > >I''m using Rails 0.12.1 with WebRick and PostgreSQL 7.4.7 > >Have you tried restarting webrick? I don''t think I can help you - I''ve been using PostgreSQL 7.4.7 + rails + webrick for a while and haven''t had a problem like that. All others were fixed by restarting webrick. - Adam
> Have you tried restarting webrick? I don''t think I can help you - I''ve > been using PostgreSQL 7.4.7 + rails + webrick for a while and haven''t > had a problem like that. All others were fixed by restarting webrick.I''ve tried a bunch of times, nothing changes :( here what the log says: http://rafb.net/paste/results/GncNxn57.html -- Lawrence http://www.oluyede.org/blog