Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class IndexesToTaggingsAndGroupings < ActiveRecord::Migration def self.up add_index :taggings, [:taggable_id, :taggable_type] add_index :groupings, :asset_id end def self.down remove_index :taggings, [:taggable_id, :taggable_type] remove_index :groupings, :asset_id end end
This paste will be private.
From the Design Piracy series on my blog: