This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Errno::ECONNREFUSED in Messages#create | |
Showing /Users/maltebar/Desktop/projc/app/views/messages/create.js.erb where line #1 raised: | |
Connection refused - connect(2) for "localhost" port 9292 | |
Extracted source (around line #1): | |
<% publish_to @path do %> | |
var id = "<%= @conversation.id %>"; | |
var chatbox = $("#chatbox_" + id + " .chatboxcontent"); | |
var sender_id = "<%= @message.user.id %>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="chatboxinput"> | |
<%= form_for([@conversation, @message], :remote => true, :html => {id: "conversation_form_#{@conversation.id}"}) do |f| %> | |
<%= f.text_area :body, class: "chatboxtextarea", "data-cid" => @conversation.id %> | |
<%= hidden_field_tag :authenticity_token, form_authenticity_token %> | |
<% end %> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started POST "/conversations" for 108.20.233.55 at 2015-05-02 12:08:21 -0400 | |
Processing by ConversationsController#create as */* | |
Parameters: {"sender_id"=>"7", "recipient_id"=>"5", "comment_id"=>"8"} | |
User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 7 ORDER BY "users"."id" ASC LIMIT 1 | |
Conversation Load (0.9ms) SELECT "conversations".* FROM "conversations" WHERE ((conversations.sender_id ='7' AND conversations.recipient_id ='5' AND conversations.comment_id ='8') OR (conversations.sender_id ='5' AND conversations.recipient_id ='7' AND conversations.comment_id ='8')) | |
Conversation Load (0.6ms) SELECT "conversations".* FROM "conversations" WHERE ((conversations.sender_id ='7' AND conversations.recipient_id ='5' AND conversations.comment_id ='8') OR (conversations.sender_id ='5' AND conversations.recipient_id ='7' AND conversations.comment_id ='8')) ORDER BY "conversations"."id" ASC LIMIT 1 | |
Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 7.3ms) | |
Started GET "/assignments |