Sha256: f4307b56a2c79c3b35879db95e52e533af26290b6ec6527174ecc55e8c52eaa6
Contents?: true
Size: 395 Bytes
Versions: 1
Compression:
Stored size: 395 Bytes
Contents
class Unico::OccupationBaseGroup < Unico::Model self.abstract_class = true self.table_name = :unico_occupation_base_groups belongs_to :occupation_subgroup, class_name: '::OccupationSubgroup' has_many :occupation_classifications, dependent: :restrict_with_exception def self.quoted_table_name '"unico_occupation_base_groups"' end def to_s "#{code} - #{name}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unico-training-7.8.0 | app/models/unico/occupation_base_group.rb |