public Method

Callbacks.before_create

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

Source Code

# File active_record/callbacks.rb, line 221
def before_create() end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.