class CourseType < ActiveRecord::Base
  has_many :courses

  validates :name, :presence => true
end

class CourseType < ActiveRecord::Base
  has_many :courses

  validates :name, :presence => true, :uniqueness => true
end

Add course type uniqueness validation
Add course type uniqueness validation
