Sha256: 6920ac2f8c484c9b891b74cdf28709ea65fc8d655917f19834eb40e24a7429d3
Contents?: true
Size: 573 Bytes
Versions: 139
Compression:
Stored size: 573 Bytes
Contents
module Spree class Prototype < Spree::Base has_many :property_prototypes, class_name: 'Spree::PropertyPrototype' has_many :properties, through: :property_prototypes, class_name: 'Spree::Property' has_many :option_type_prototypes, class_name: 'Spree::OptionTypePrototype' has_many :option_types, through: :option_type_prototypes, class_name: 'Spree::OptionType' has_many :prototype_taxons, class_name: 'Spree::PrototypeTaxon' has_many :taxons, through: :prototype_taxons, class_name: 'Spree::Taxon' validates :name, presence: true end end
Version data entries
139 entries across 139 versions & 1 rubygems