Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [cec423e5af97125f0fa938cdceaf2aa470bdce0d] by Pat Nakajima

Revision cec423e5af97125f0fa938cdceaf2aa470bdce0d, committed by Pat Nakajima · February 8th, 2009 @ 01:38 AM

Made Post#allow_comments a proper attribute.

This was a long time coming. Instead of the hacky "feed_id = 0", there's a proper attribute to determine whether or not a given post should allow comments. http://github.com/nakajima/ainta...

9 changed files

  • M app/models/post.rb
  • M app/models/posts/article.rb
  • M app/views/posts/types/_snippet.html.erb
  • M db/migrate/20090208061237_add_allow_comments_to_posts.rb
  • M db/schema.rb
  • M test/functional/comments_controller_test.rb
  • M test/unit/article_test.rb
  • M test/unit/blog_test.rb
  • M test/unit/post_test.rb