Class: Qcourses::Registration

Inherits:
Sequel::Model
  • Object
show all
Defined in:
lib/qcourses/models/registration.rb

Instance Method Summary collapse

Instance Method Details

#validateObject



31
32
33
34
# File 'lib/qcourses/models/registration.rb', line 31

def validate
  validates_presence :employee
  validates_presence :event
end