lib/sunrise/models/post.rb in sunrise-posts-0.1.2 vs lib/sunrise/models/post.rb in sunrise-posts-0.1.3

- old
+ new

@@ -10,10 +10,9 @@ module ClassMethods def self.extended(base) base.send(:include, Utils::Header) base.class_eval do belongs_to :structure - has_many :comments, :as => :commentable, :dependent => :delete_all validates_presence_of :title, :content before_save :make_date end