Sha256: f59a7ba2641bb597f7af2fc7c6e730bc936fe795a6533d9f26dc4f83d8a40bf0
Contents?: true
Size: 307 Bytes
Versions: 1
Compression:
Stored size: 307 Bytes
Contents
class Unico::OccupationGroup < Unico::Model self.abstract_class = true self.table_name = :unico_occupation_groups has_many :occupation_main_groups, dependent: :restrict_with_exception def self.quoted_table_name '"unico_occupation_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_group.rb |