Sha256: ebc68db7c09f68ce5af79f894a1ef085a4f559041a7499bdaf18254c569400ba

Contents?: true

Size: 184 Bytes

Versions: 16

Compression:

Stored size: 184 Bytes

Contents

module Gaku
  class StudentReviewCategory < ActiveRecord::Base

    validates :name, presence: true, uniqueness: true

    translates :name

    def to_s
      name
    end

  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_core-0.3.0 app/models/gaku/student_review_category.rb
gaku_core-0.3.0.pre.4 app/models/gaku/student_review_category.rb
gaku_core-0.3.0.pre.3 app/models/gaku/student_review_category.rb
gaku_core-0.3.0.pre.2 app/models/gaku/student_review_category.rb
gaku_core-0.3.0.pre.1 app/models/gaku/student_review_category.rb
gaku_core-0.3.0.pre.0 app/models/gaku/student_review_category.rb
gaku-0.2.4 core/app/models/gaku/student_review_category.rb
gaku_core-0.2.4 app/models/gaku/student_review_category.rb
gaku-0.2.3 core/app/models/gaku/student_review_category.rb
gaku_core-0.2.3 app/models/gaku/student_review_category.rb
gaku-0.2.2 core/app/models/gaku/student_review_category.rb
gaku_core-0.2.2 app/models/gaku/student_review_category.rb
gaku-0.2.1 core/app/models/gaku/student_review_category.rb
gaku_core-0.2.1 app/models/gaku/student_review_category.rb
gaku-0.2.0 core/app/models/gaku/student_review_category.rb
gaku_core-0.2.0 app/models/gaku/student_review_category.rb