method

valid?

valid?(context = nil)
public

Runs all the specified validations and returns true if no errors were added otherwise false.