Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
##tasks/hello.js.erb page.alert "hello world" ##routes.rb ActionController::Routing::Routes.draw do |map| map.root :controller => "tasks" map.resources :tasks, :collection => {:list => :get, :hello => :get} ##tasks/list.html.erb <h1>Tasks</h1> <%= link_to_remote "say hello", :url => formatted_hello_tasks_path(:js), :html => {:method => :get} %>
This paste will be private.
From the Design Piracy series on my blog: