whenever I do
rescue Exception => e
flash[:error] = e.message
the e.message will always contain the "Validation error:" string and the Object
例:
Validation failed: Price "message:", Price "message"
How do I tell rails that I just want the message? and not the other parts of the validation error to be displayed?