Sha256: e3340c8c34c1eb4c7fa208a14c072ae8c06d6dbc686f92ae82d9d9d9a24d699b

Contents?: true

Size: 240 Bytes

Versions: 90

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class Categorization < ApplicationRecord
    include Decidim::Traceable

    belongs_to :category, foreign_key: :decidim_category_id
    belongs_to :categorizable, polymorphic: true
  end
end

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
decidim-core-0.13.0 app/models/decidim/categorization.rb
decidim-core-0.12.1 app/models/decidim/categorization.rb
decidim-core-0.13.0.pre1 app/models/decidim/categorization.rb
decidim-core-0.12.0 app/models/decidim/categorization.rb
decidim-core-0.11.2 app/models/decidim/categorization.rb
decidim-core-0.12.0.pre app/models/decidim/categorization.rb
decidim-core-0.11.1 app/models/decidim/categorization.rb
decidim-core-0.11.0.pre1 app/models/decidim/categorization.rb
decidim-core-0.10.1 app/models/decidim/categorization.rb
decidim-core-0.10.0 app/models/decidim/categorization.rb