Rather than serving your user's a 404 dead end, we can use the ActiveSupport rescue_from method to give users search results instead and how to reuse this with ActiveSupport Concerns
Join 20,000+ developers who get early access to new screencasts, articles, guides, updates, and more.