method
before_create
before_create()
public
Is called before Base.save on new objects that haven’t been saved yet (no record exists).
before_create()
public
Is called before Base.save on new objects that haven’t been saved yet (no record exists).