public Method

ClassMethods.validate_on_create(*methods, &block)

There's no documentation for this item.

Source Code

# File active_record/validations.rb, line 332
def validate_on_create(*methods, &block)
  methods << block if block_given?
  write_inheritable_set(:validate_on_create, methods)
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.