method

valid?

valid?()
public

Runs validate and validate_on_create or validate_on_update and returns true if no errors were added otherwise false.