Displaying 2 results from an estimated 2 matches for "testingcontrol".
2006 Aug 08
1
Bad file descriptor - connect(2)
...my postgresql to listen to port 5000 rather
than 5432(default). When I hit the url http://127.0.0.1:3000/Testing/new
it is showing an error:
Bad file descriptor - connect(2)
My model -> testing.rb
class Testing < ActiveRecord::Base
end
My Controller -> testing_controller.rb
class TestingController < ApplicationController
scaffold :testing
end
How can I resolve this problem... Thanks in advance...
Regards,
Janeve
--
Posted via http://www.ruby-forum.com/.
2006 Jul 31
3
PostgreSQL, postgres gem, rails2.pdf, http://ruby.scripting.ca/postgres/ confusion...
Hello people...
In the rails2.pdf Dave T says:
Rails works with the DB2, MySQL, Oracle, Postgres,...
The database drivers are all written in C and are primarily distributed in
source form.
Then he lists this site:
http://ruby.scripting.ca/postgres/
Then he says,
There is a pure-Ruby version of the Postgres adapter available. Download
postgres-pr from the Ruby-DBI page at