Changeset [3a058a3b35b64d20ef49c94b6955e72f824f3be2] by Mike Dalessio
Revision 3a058a3b35b64d20ef49c94b6955e72f824f3be2,
committed by Mike Dalessio
· October 29th, 2008 @ 03:20 AM
added 'format' attribute to Post. by default, we still apply RedCloth formatting. but if format is HTML, serve raw content.
note that at this point, no code sets format (yet). http://github.com/nakajima/ainta...
4 changed files
-
M
app/models/post.rb -
M
db/migrate/007_add_post_format.rb -
M
db/schema.rb -
M
test/unit/post_test.rb