Handle not activerecord::base errors too