app/models/almanac/post.rb in almanac-0.8.0 vs app/models/almanac/post.rb in almanac-0.9.0
- old
+ new
@@ -1,9 +1,8 @@
class Almanac::Post < ActiveRecord::Base
belongs_to :blog
belongs_to :author, :class_name => Almanac.user_class
has_many :images, :dependent => :destroy
- has_many :comments, :dependent => :destroy
attr_accessible :title, :body, :published, :excerpt, :author_id, :blog_id, :tag_list, :written_at, :slug
validates_presence_of :blog_id
validates_presence_of :written_at
\ No newline at end of file