Sha256: 11ea8e24370abcc95e2cdd4aa54bac3a7c7cd81d19bb072f63a65a519be1f902

Contents?: true

Size: 199 Bytes

Versions: 31

Compression:

Stored size: 199 Bytes

Contents

module Recruiter
  class Tag < ActiveRecord::Base
    has_and_belongs_to_many :jobs, class_name: 'Recruiter::Job'
    validates :name, presence: true, uniqueness: { case_sensitive: false }
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
recruiter-0.1.4 app/models/recruiter/tag.rb
recruiter-0.1.3 app/models/recruiter/tag.rb
recruiter-0.1.2 app/models/recruiter/tag.rb
recruiter-0.1.1 app/models/recruiter/tag.rb
recruiter-0.1.0 app/models/recruiter/tag.rb
recruiter-0.0.7 app/models/recruiter/tag.rb
recruiter-0.0.6 app/models/recruiter/tag.rb
recruiter-0.0.5 app/models/recruiter/tag.rb
recruiter-0.0.4 app/models/recruiter/tag.rb
recruiter-0.0.3 app/models/recruiter/tag.rb
recruiter-0.0.2 app/models/recruiter/tag.rb