Sha256: 19ade7639c501f589449ce019ac284f3082944818e5d0f3d4a572ef9d3de8a41
Contents?: true
Size: 282 Bytes
Versions: 8
Compression:
Stored size: 282 Bytes
Contents
module Storytime::PostComments extend ActiveSupport::Concern included do has_many :comments, class_name: "Storytime::Comment", foreign_key: "post_id" def show_comments? true end end module ClassMethods def show_comments? true end end end
Version data entries
8 entries across 8 versions & 1 rubygems