Sha256: 02f4c9998792b273b00dcba6f60bde6309da00d9e449a44247ea3d00aec1d80c

Contents?: true

Size: 586 Bytes

Versions: 3

Compression:

Stored size: 586 Bytes

Contents

class FormOfWork < ApplicationRecord
  include MasterModel
  default_scope { order('form_of_works.position') }
  translates :display_name
  has_many :works
end

# == Schema Information
#
# Table name: form_of_works
#
#  id                        :integer          not null, primary key
#  name                      :string           not null
#  display_name              :text
#  note                      :text
#  position                  :integer
#  created_at                :datetime
#  updated_at                :datetime
#  display_name_translations :jsonb            not null
#

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.4.0.rc.1 app/models/form_of_work.rb
enju_biblio-0.4.0.beta.2 app/models/form_of_work.rb
enju_biblio-0.4.0.beta.1 app/models/form_of_work.rb