class Inferno::Repositories::Requests::Model

Public Instance Methods

before_create() click to toggle source
Calls superclass method
# File lib/inferno/repositories/requests.rb, line 80
def before_create
  self.id = SecureRandom.uuid
  time = Time.now
  self.created_at ||= time
  self.updated_at ||= time
  super
end