Class: Inferno::Repositories::Tags::Model

Inherits:
Object
  • Object
show all
Defined in:
lib/inferno/repositories/tags.rb

Instance Method Summary collapse

Instance Method Details

#before_createObject



11
12
13
14
# File 'lib/inferno/repositories/tags.rb', line 11

def before_create
  self.id = SecureRandom.uuid
  super
end