method

assert_valid

assert_valid(record)
public

ensures that the passed record is valid by active record standards. returns the error messages if not