use #detect instead of #find. Here and elsewhere.