Sha256: f4a95d8360052ba0c82064b5a58363e27234c09d510511b19b13471247601bbe

Contents?: true

Size: 412 Bytes

Versions: 7

Compression:

Stored size: 412 Bytes

Contents

class FormOfWork < ApplicationRecord
  include MasterModel
  default_scope { order('form_of_works.position') }
  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
#

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_biblio-0.3.9 app/models/form_of_work.rb
enju_biblio-0.3.8 app/models/form_of_work.rb
enju_biblio-0.3.7 app/models/form_of_work.rb
enju_biblio-0.3.6 app/models/form_of_work.rb
enju_biblio-0.3.5 app/models/form_of_work.rb
enju_biblio-0.3.4 app/models/form_of_work.rb
enju_biblio-0.3.3 app/models/form_of_work.rb