Sha256: 9652185452c91d640da3f80b27df90bc6da238625ac38f0bb38bc74bc6c93190
Contents?: true
Size: 486 Bytes
Versions: 3
Compression:
Stored size: 486 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enju_biblio-0.1.0.pre58 | app/models/agent_type.rb |
enju_biblio-0.1.0.pre57 | app/models/agent_type.rb |
enju_biblio-0.1.0.pre56 | app/models/agent_type.rb |