Sha256: 168c2ce60757efca920e73189480bb77a53799d663787c16540ea399b40e9675

Contents?: true

Size: 374 Bytes

Versions: 15

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module DecidimAwesome
    class ConfigConstraint < ApplicationRecord
      self.table_name = "decidim_awesome_config_constraints"

      belongs_to :awesome_config, foreign_key: :decidim_awesome_config_id, class_name: "Decidim::DecidimAwesome::AwesomeConfig"

      validates :awesome_config, presence: true
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.8.3 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.8.2 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.8.1 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.8.0 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.7.2 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.7.0 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.6.7 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.6.6 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.6.5 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.6.4 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.6.3 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.6.2 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.6.1 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.6.0 app/models/decidim/decidim_awesome/config_constraint.rb
decidim-decidim_awesome-0.5.1 app/models/decidim/decidim_awesome/config_constraint.rb