Sha256: 94cabe4997bc0e18de47930d779f816a8eaaa017c767643ed333a64a28efaa27

Contents?: true

Size: 449 Bytes

Versions: 10

Compression:

Stored size: 449 Bytes

Contents

class SubjectType < ActiveRecord::Base
  attr_accessible :name, :display_name, :note
  include MasterModel
  default_scope :order => "position"
  has_many :subjects
end

# == Schema Information
#
# Table name: subject_types
#
#  id           :integer          not null, primary key
#  name         :string(255)      not null
#  display_name :text
#  note         :text
#  position     :integer
#  created_at   :datetime
#  updated_at   :datetime
#

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
enju_trunk_subject-1.0.4 app/models/subject_type.rb
enju_subject-0.1.0.pre12 app/models/subject_type.rb
enju_subject-0.1.0.pre11 app/models/subject_type.rb
enju_subject-0.1.0.pre10 app/models/subject_type.rb
enju_subject-0.1.0.pre9 app/models/subject_type.rb
enju_subject-0.1.0.pre8 app/models/subject_type.rb
enju_subject-0.1.0.pre7 app/models/subject_type.rb
enju_subject-0.1.0.pre6 app/models/subject_type.rb
enju_subject-0.1.0.pre5 app/models/subject_type.rb
enju_subject-0.1.0.pre4 app/models/subject_type.rb