Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errno::ECONNREFUSED in SearchController#new #554

Open
batazor opened this issue Oct 19, 2015 · 0 comments
Open

Errno::ECONNREFUSED in SearchController#new #554

batazor opened this issue Oct 19, 2015 · 0 comments

Comments

@batazor
Copy link

batazor commented Oct 19, 2015

Connection refused - connect(2) for "localhost" port 8888

  def self.all_sorted_by(key)
    self.all.sort_by { |kw| kw.send(key) } # Error
  end
end

Application Trace

app/models/keyword.rb:9:in `all_sorted_by'
app/controllers/search_controller.rb:7:in `new'

Toggle env dump

GATEWAY_INTERFACE: "CGI/1.2"
HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
HTTP_ACCEPT_ENCODING: "gzip, deflate, sdch"
HTTP_ACCEPT_LANGUAGE: "ru,en;q=0.8"
HTTP_CACHE_CONTROL: "max-age=0"
REMOTE_ADDR: "127.0.0.1"
SERVER_NAME: "localhost"
SERVER_PROTOCOL: "HTTP/1.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant