Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
##code that creates it @mapper.overlay_init(GMarker.new([map.lat, map.lng], :title => map.name, :info_window_tabs => {:tab => "INFO", :content => @marker_html})) ##error in firebug label is not defined map.setCenter(new GLatLng(30.637321,-96....;map.addControl(new GLargeMapControl()); ##log Processing Admin::MapsController#index (for 127.0.0.1 at 2009-04-22 19:44:43) [GET] Map Load (0.6ms) SELECT * FROM "maps" WHERE (approved = 't') User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1 Asset Load (1.2ms) SELECT "assets".* FROM "assets" INNER JOIN attachings ON assets.id = attachings.asset_id WHERE (("attachings".attachable_type = 'Map') AND ("attachings".attachable_id = 4)) [paperclip] Paperclip attachment data on Asset initialized. [paperclip] Paperclip attachment data on Asset initialized. Rendering template within layouts/admin Rendering admin/maps/index Category Load (0.3ms) SELECT * FROM "categories" Rendered admin/maps/_new (9.5ms) Rendered admin/users/_user_bar (3.2ms) Role Load (0.4ms) SELECT * FROM "roles" WHERE ("roles"."id" = 1) Completed in 69ms (View: 32, DB: 2) | 200 OK [http://localhost/admin/maps]
This paste will be private.
From the Design Piracy series on my blog: