Sha256: 77302cabf42c48d2ab49853c61615fc5acf287347ad7164db504593f500d081b

Contents?: true

Size: 490 Bytes

Versions: 4

Compression:

Stored size: 490 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

4 entries across 4 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre62 app/models/agent_type.rb
enju_biblio-0.1.0.pre61 app/models/agent_type.rb
enju_biblio-0.1.0.pre60 app/models/agent_type.rb
enju_biblio-0.1.0.pre59 app/models/agent_type.rb