If a make fails because of ActiveRecord validation errors, we get only the raw (and quite unhelpful) ActiveRecord message. This doesn't identify which model was being instantiated nor what parameters were passed to its new method.
This information is available to Machinist so we should trap the exception and add some decoration to the message.
If a
makefails because of ActiveRecord validation errors, we get only the raw (and quite unhelpful) ActiveRecord message. This doesn't identify which model was being instantiated nor what parameters were passed to itsnewmethod.This information is available to Machinist so we should trap the exception and add some decoration to the message.