Closed jsugarman closed 7 years ago
Handle NoMethodError when calling .errors method. Using the form builder with an unpersisted object (e.g. a problem report submitter) raises this error since the object does not respond to .errors
@ministryofjustice/ruby anyone to review PR please? @aliuk2012 @stephenrichards this is the fix we spoke about for peoplefinder
Looks fine, could another Ruby dev review as well within the next couple of days.
Handle NoMethodError when calling .errors method. Using the form builder with an unpersisted object (e.g. a problem report submitter) raises this error since the object does not respond to .errors