Optimized code for reverse phone ruby app.