Lines Matching refs:message
13 redirect_to root_url, alert: exception.message
18 text: exception.message
25 message = exception.message
26 if message.include?('foreign key constraint')
27 logger.warn(message)
28 # shorten the message
29 message = message.match(/DETAIL: .+/).to_s
32 flash: {error: "Whatever you tried to do - the server is unable to process your request because of a foreign key constraint. (#{message})" }