Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
def contact_message(contact) @email = "#{contact.email_address}" @recipients = 'zkwentz@gmail.com' @from = @email @subject = 'Contact Form Request' @body['name'] = contact.name @body['city'] = contact.city @body['state'] = contact.state @body['zip'] = contact.zip @body['phone'] = contact.phone @body['email_address'] = @email @body['address'] = contact.address @body['message'] = contact.message end
This paste will be private.
From the Design Piracy series on my blog: