MS nuked some random non helpful puts statements

This commit is contained in:
maxwell 2010-07-24 12:12:48 -07:00
parent 261a7d177d
commit 2cbdc5413f
5 changed files with 1 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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]

View file

@ -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