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-7.9.0 app/models/concerns/commentable.rb
udongo-7.8.1 app/models/concerns/commentable.rb
udongo-7.8.0 app/models/concerns/commentable.rb
udongo-7.7.2 app/models/concerns/commentable.rb
udongo-7.7.1 app/models/concerns/commentable.rb
udongo-7.7.0 app/models/concerns/commentable.rb
udongo-7.6.2 app/models/concerns/commentable.rb
udongo-7.6.1 app/models/concerns/commentable.rb
udongo-7.6.0 app/models/concerns/commentable.rb
udongo-7.5.1 app/models/concerns/commentable.rb
udongo-7.5.0 app/models/concerns/commentable.rb
udongo-7.4.2 app/models/concerns/commentable.rb
udongo-7.4.1 app/models/concerns/commentable.rb
udongo-7.4.0 app/models/concerns/commentable.rb
udongo-7.3.5 app/models/concerns/commentable.rb
udongo-7.3.4 app/models/concerns/commentable.rb
udongo-7.3.3 app/models/concerns/commentable.rb
udongo-7.3.2 app/models/concerns/commentable.rb
udongo-7.3.1 app/models/concerns/commentable.rb
udongo-7.2.1 app/models/concerns/commentable.rb