Rescue to public/404.html

Hi there,

Could anyone share your experience, what is the best way to handle
ActiveRecord errors?

Of course, I can rescue it in the controller and do everything I want.
But is there any way to display 404.html from public/ in this very case?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs