Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
[root@autolab-bg-a020d foreman-alfa]# script/server -e production => Booting WEBrick => Rails 2.3.2 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-01-15 08:41:39] INFO WEBrick 1.3.1 [2010-01-15 08:41:39] INFO ruby 1.8.5 (2006-08-25) [i386-linux] [2010-01-15 08:41:39] INFO WEBrick::HTTPServer#start: pid=13471 port=3000 Processing HostgroupsController#index (for 172.24.3.200 at 2010-01-15 08:41:47) [GET] Parameters: {"action"=>"index", "controller"=>"hostgroups"} Rendering template within layouts/standard Rendering list Completed in 799ms (View: 743, DB: 5) | 200 OK [http://autolab-bg-a020d.ula.comcast.net/hostgroups] Processing HostgroupsController#nested (for 172.24.3.200 at 2010-01-15 08:41:52) [GET] Parameters: {"associations"=>"puppetclasses", "action"=>"nested", "_method"=>"get", "adapter"=>"_list_inline_adapter", "id"=>"2", "controller"=>"hostgroups"} Start rendering component ({:params=>{:eid=>"4887fa6d148933b0b8f05d3ca62d59d4", :nested=>true, :parent_column=>"puppetclasses", :parent_model=>Hostgroup(id: integer, name: string, created_at: datetime, updated_at: datetime)}, :controller=>"puppetclasses", :action=>"table"}): Processing PuppetclassesController#table (for 172.24.3.200 at 2010-01-15 08:41:52) [GET] Parameters: {"eid"=>"4887fa6d148933b0b8f05d3ca62d59d4", "parent_column"=>"puppetclasses", "nested"=>true, "action"=>"table", "id"=>nil, "controller"=>"puppetclasses", "parent_model"=>Hostgroup(id: integer, name: string, created_at: datetime, updated_at: datetime)} Rendering list Completed in 959ms (View: 918, DB: 6) | 200 OK [http://autolab-bg-a020d.ula.comcast.net/hostgroups/2/nested?_method=get&associations=puppetclasses&adapter=_list_inline_adapter] End of component rendering NoMethodError (undefined method `controller_name' for nil:NilClass): /usr/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' Rendering /opt/comcast/puppet/foreman-alfa/public/500.html (500 Internal Server Error)
This paste will be private.
From the Design Piracy series on my blog: