How to handle ActiveRecord::RecordNotFound exception in Rails?
TL; DR: The best strategy is the one based on your needs
Problem
The ActiveRecord::RecordNotFound exception in Rails occurs when a specific record is not found in the database.
Rails usually render an error page.
Error
Let's check the exception fr...
blog.alexandrecalaca.com3 min read