Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
def to_param "#{id}-#{title.strip.downcase.gsub(/\s|[^a-zA-Z0-9\-]+/, '-').gsub(/\-+/, '-').gsub(/^\-|\-$/, '')}" end
Pasted April 04, 200812:53PM EDT