public Method

Callbacks.before_save

Is called before Base.save (regardless of whether it’s a create or update save).

Source Code

# File active_record/callbacks.rb, line 204
def before_save() 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.