Module: Twenty::Model

Included in:
Project, Task
Defined in:
lib/twenty/server/model.rb

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object



4
5
6
7
# File 'lib/twenty/server/model.rb', line 4

def self.included(model)
  model.plugin(:validation_class_methods)
  model.plugin(:timestamps, update_on_create: true)
end