app/models/ecm/blog/post.rb in ecm_blog-0.1.1 vs app/models/ecm/blog/post.rb in ecm_blog-0.2.0
- old
+ new
@@ -1,8 +1,7 @@
module Ecm::Blog
class Post < ActiveRecord::Base
- has_many :comments, as: :commentable, class_name: 'Ecm::Comments::Comment'
-
+ include Model::Ecm::Comments::CommentableConcern
include Model::Ecm::Tags::TaggableConcern
# acts as published
include ActsAsPublished::ActiveRecord
acts_as_published