Displaying 1 result from an estimated 1 matches for "cdlibrary".
Did you mean:
dlibrary
2006 Jul 22
3
Connection refused - connect(2)
...:select => "cd_label")
end
end
[/code]
and calling this in controllers like this,
[code]
class TestController < ApplicationController
def view
@cd_details = CdDetails.find_data
end
end
[/code]
my database configuration is
adapter: postgresql
database: cdlibrary
username: cdlibrary
password: cdlibrary
If I call this action "VIEW" from test controller, I am getting the
following error message in screen,
Errno::ECONNREFUSED in TestController#view
Connection refused - connect(2)
#{RAILS_ROOT}/app/models/cd_details.rb:7:in `find_data''...