Flowdock
method

before_validation_on_create

Importance_2
Ruby on Rails latest stable (v4.1.8) - 1 note - Class: ActiveRecord::Callbacks

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

before_validation_on_create() public

Is called before Validations.validate (which is part of the Base.save call) on new objects that haven’t been saved yet (no record exists).

Show source
Register or log in to add new notes.
October 19, 2011 - (>= v3.0.0)
3 thanks

Replaced by :on => :create

From rails 3,

before_validation_on_create 

has been removed and replaced with:

before_validation :foo, :on => :create