diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 785f2032029c35c1a4fac984a6b568fecfc531c2..5a87096e0c37802a260890021800a0aaec9e9bdf 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -4,9 +4,7 @@ class CommentsController < ApplicationController def create target = Post.first(:id => params[:comment][:post_id]) text = params[:comment][:text] - puts params.inspect - - + if current_user.comment text, :on => target render :text => "Woo!" else diff --git a/app/controllers/requests_controller.rb b/app/controllers/requests_controller.rb index 01ad934560e6bcaf753c3c87196b7bbb9c89aec6..39f9c8376e8002387f25aa45f53f33714f787d1b 100644 --- a/app/controllers/requests_controller.rb +++ b/app/controllers/requests_controller.rb @@ -27,7 +27,6 @@ class RequestsController < ApplicationController def create rel_hash = relationship_flow(params[:request][:destination_url]) Rails.logger.info("Sending request: #{rel_hash}") - puts rel_hash @request = current_user.send_request(rel_hash) if @request diff --git a/app/controllers/sockets_controller.rb b/app/controllers/sockets_controller.rb index 67ffc7dc83d8631010f65d0c2eab4dd4dd97e480..e25472d52de9a5ff4e21aa51c831323acbeafedc 100644 --- a/app/controllers/sockets_controller.rb +++ b/app/controllers/sockets_controller.rb @@ -14,7 +14,6 @@ class SocketsController < ApplicationController def outgoing(object) @_request = ActionDispatch::Request.new({}) - puts action_hash(object) WebSocket.push_to_clients(action_hash(object)) end diff --git a/app/models/user.rb b/app/models/user.rb index 7056ac6954574aecbc56e087bb057ff7913aecac..bd8dcdc5222a26f9f40c6701031a966c95854c3a 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -94,7 +94,6 @@ class User < Person def send_request(rel_hash) - puts rel_hash.inspect if rel_hash[:friend] self.send_friend_request_to(rel_hash[:friend]) elsif rel_hash[:subscribe] diff --git a/app/views/dashboards/index.html.haml b/app/views/dashboards/index.html.haml index eab45ae3503b6ff31e3de88591e74dfbfb133beb..d205590e316f2225bdb08a143996cd2eaaa897d3 100644 --- a/app/views/dashboards/index.html.haml +++ b/app/views/dashboards/index.html.haml @@ -5,7 +5,6 @@ %h3= my_latest_message = render "shared/publisher" %ul#stream - = puts @posts.inspect - for post in @posts = render type_partial(post), :post => post #pagination