Sha256: e4a6e9b77b0c006b983d1b0d4977753314e35a8c8ae5e667e6067ffb76725163

Contents?: true

Size: 459 Bytes

Versions: 19

Compression:

Stored size: 459 Bytes

Contents

class AgentRelationshipType < ApplicationRecord
  include MasterModel
  default_scope { order('agent_relationship_types.position') }
  has_many :agent_relationships
end

# == Schema Information
#
# Table name: agent_relationship_types
#
#  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

19 entries across 19 versions & 1 rubygems

Version Path
enju_biblio-0.3.18 app/models/agent_relationship_type.rb
enju_biblio-0.3.17 app/models/agent_relationship_type.rb
enju_biblio-0.3.16 app/models/agent_relationship_type.rb
enju_biblio-0.3.15 app/models/agent_relationship_type.rb
enju_biblio-0.3.14 app/models/agent_relationship_type.rb
enju_biblio-0.3.13 app/models/agent_relationship_type.rb
enju_biblio-0.3.12 app/models/agent_relationship_type.rb
enju_biblio-0.3.11 app/models/agent_relationship_type.rb
enju_biblio-0.3.10 app/models/agent_relationship_type.rb
enju_biblio-0.3.10.rc.3 app/models/agent_relationship_type.rb
enju_biblio-0.3.10.rc.2 app/models/agent_relationship_type.rb
enju_biblio-0.3.10.rc.1 app/models/agent_relationship_type.rb
enju_biblio-0.3.9 app/models/agent_relationship_type.rb
enju_biblio-0.3.8 app/models/agent_relationship_type.rb
enju_biblio-0.3.7 app/models/agent_relationship_type.rb
enju_biblio-0.3.6 app/models/agent_relationship_type.rb
enju_biblio-0.3.5 app/models/agent_relationship_type.rb
enju_biblio-0.3.4 app/models/agent_relationship_type.rb
enju_biblio-0.3.3 app/models/agent_relationship_type.rb