Sha256: a8a11785e00b9a8b924dd7a04166f92b4e550024fdb3a1742a7ed6a4b4ae678f

Contents?: true

Size: 489 Bytes

Versions: 13

Compression:

Stored size: 489 Bytes

Contents

class AgentType < ActiveRecord::Base
  attr_accessible :name, :display_name, :note
  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(255)      not null
#  display_name :text
#  note         :text
#  position     :integer
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/models/agent_type.rb
enju_biblio-0.1.0.pre54 app/models/agent_type.rb
enju_biblio-0.1.0.pre53 app/models/agent_type.rb
enju_biblio-0.1.0.pre52 app/models/agent_type.rb
enju_biblio-0.1.0.pre51 app/models/agent_type.rb
enju_biblio-0.1.0.pre50 app/models/agent_type.rb
enju_biblio-0.1.0.pre49 app/models/agent_type.rb
enju_biblio-0.1.0.pre48 app/models/agent_type.rb
enju_biblio-0.1.0.pre47 app/models/agent_type.rb
enju_biblio-0.1.0.pre46 app/models/agent_type.rb
enju_biblio-0.1.0.pre45 app/models/agent_type.rb
enju_biblio-0.1.0.pre44 app/models/agent_type.rb
enju_biblio-0.1.0.pre43 app/models/agent_type.rb