Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class ChatController < ApplicationController protect_from_forgery :only => [:index] def index end def send_data render :juggernaut => {:channels => [params[:send_to_channel]], :type => :send_to_channels} do |page| page.insert_html :top, 'chat_data', h(params[:chat_input])+"\n" end render :nothing => true end end
This paste will be private.
From the Design Piracy series on my blog: