Sha256: d3a5eca338bce1eb599022ced75fcbb137f281da7f1d4bdef6a06658f2adf2e0
Contents?: true
Size: 414 Bytes
Versions: 8
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module Spree class Prototype < Spree::Base has_many :property_prototypes has_many :properties, through: :property_prototypes has_many :option_type_prototypes has_many :option_types, through: :option_type_prototypes has_many :prototype_taxons, dependent: :destroy has_many :taxons, through: :prototype_taxons validates :name, presence: true end end
Version data entries
8 entries across 8 versions & 1 rubygems