Sha256: 32a57b0a8daf737810d8f2906f2ef88309e7a68ea46bac781cf61db4400002a9

Contents?: true

Size: 170 Bytes

Versions: 72

Compression:

Stored size: 170 Bytes

Contents

module Concerns
  module Commentable
    extend ActiveSupport::Concern

    included do
      has_many :comments, as: :commentable, dependent: :destroy
    end
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
udongo-3.0.0 app/models/concerns/commentable.rb
udongo-2.0.4 app/models/concerns/commentable.rb
udongo-2.0.3 app/models/concerns/commentable.rb
udongo-2.0.2 app/models/concerns/commentable.rb
udongo-2.0.1 app/models/concerns/commentable.rb
udongo-2.0.0 app/models/concerns/commentable.rb
udongo-1.0.4 app/models/concerns/commentable.rb
udongo-1.0.3 app/models/concerns/commentable.rb
udongo-1.0.2 app/models/concerns/commentable.rb
udongo-1.0.1 app/models/concerns/commentable.rb
udongo-1.0.0 app/models/concerns/commentable.rb
udongo-0.1.0 app/models/concerns/commentable.rb