Sha256: 60ff3719bab92fdccad2a921794c5aa07c5f30204c4213dfd7bd54a7abcdfa33

Contents?: true

Size: 409 Bytes

Versions: 15

Compression:

Stored size: 409 Bytes

Contents

class AgentType < ActiveRecord::Base
  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

15 entries across 14 versions & 2 rubygems

Version Path
enju_biblio-0.3.2 app/models/agent_type.rb
enju_biblio-0.3.1 app/models/agent_type.rb
enju_biblio-0.3.0 app/models/agent_type.rb
enju_biblio-0.3.0.rc.1 app/models/agent_type.rb
enju_biblio-0.3.0.beta.2 app/models/agent_type.rb
enju_biblio-0.2.5 app/models/agent_type.rb
enju_biblio-0.2.4 app/models/agent_type.rb
enju_biblio-0.2.3 app/models/agent_type.rb
enju_biblio-0.2.2 app/models/agent_type.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/app/models/agent_type.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/app/models/agent_type.rb
enju_biblio-0.2.1 app/models/agent_type.rb
enju_biblio-0.2.0 app/models/agent_type.rb
enju_biblio-0.2.0.beta.4 app/models/agent_type.rb
enju_biblio-0.2.0.beta.3 app/models/agent_type.rb