Post by Peter Cooper on August 21st, 2006

acts_as_textiled: Auto-formatted columns plugin for Rails

>> story.description = "Peter flippin' _Cooper_"
=> "Peter flippin' _Cooper_" 

>> story.description
=> "<p>Peter flippin&#8217; <em>Cooper</em></p>" 

>> story.textiled = false
=> false

>> story.description
=> "Peter flippin' _Cooper_"

Chris Wanstrath has created acts_as_textiled, a new plugin for Rails that allows you to specify columns on your model to be automatically parsed as Textile content.

[Post to Twitter] Tweet This

2 Responses to “acts_as_textiled: Auto-formatted columns plugin for Rails”

  1. #1
    Danno Says:

    Okay, that's hot.

  2. #2
    Daniel Waite Says:

    Damn hot. :) Thanks for sharing. (And thanks to Chris!)