Sha256: e7ed8dd61ba230fda660bfc5457f02fef0897438cfce1e91aa787823cb30b8ba

Contents?: true

Size: 408 Bytes

Versions: 7

Compression:

Stored size: 408 Bytes

Contents

class AgentType < ApplicationRecord
  include MasterModel
  default_scope { order('agent_types.position') }
  has_many :agents
end

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

7 entries across 7 versions & 1 rubygems

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