8 lines
212 B
Ruby
Executable File
8 lines
212 B
Ruby
Executable File
class Certification < ActiveRecord::Base
|
|
attr_accessible :description, :name, :slug
|
|
has_many :user_certifications
|
|
has_many :users, :through => :user_certifications
|
|
|
|
validates_presence_of :name, :slug
|
|
end
|