Sha256: 14d39ca689766c426a693f0a2fd8d977d634c5df1e03e392046b94ba3a70ecf9

Contents?: true

Size: 401 Bytes

Versions: 9

Compression:

Stored size: 401 Bytes

Contents

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

9 entries across 9 versions & 1 rubygems

Version Path
enju_subject-0.0.13 app/models/subject_type.rb
enju_subject-0.0.12 app/models/subject_type.rb
enju_subject-0.0.10 app/models/subject_type.rb
enju_subject-0.0.9 app/models/subject_type.rb
enju_subject-0.0.8 app/models/subject_type.rb
enju_subject-0.0.7 app/models/subject_type.rb
enju_subject-0.0.6 app/models/subject_type.rb
enju_subject-0.0.5 app/models/subject_type.rb
enju_subject-0.0.4 app/models/subject_type.rb