Changeset [cec423e5af97125f0fa938cdceaf2aa470bdce0d] 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...

Committed by Pat Nakajima

  • 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
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Open source tumblog in Ruby on Rails.

<a href="http://aintablog.com">aintablog.com</a>