Sufficient for my reason to tell user more informative message:
exception.message.match /^Couldn't find (\w+) with (id=([\S]*))?/
msg = t 'activerecord.exceptions.not_found', klass: $1, id: $3
and since I wanted a czech transaltion:
cs:
activerecord:
exceptions:
not_found: "Nelze nalézt %{klass} s id=%{id}"
..when is something hard coded the only way is to hard de-code it