Content
View differences
Updated by Attila Dombi about 1 year ago
The controllers have a lot of instances where we explictly rescue from `ActiveRecord::RecordNotFound`, errors.
This can be unified by using the `rescue_from ActiveRecord::RecordNotFound` in the application controller, thus a lot of repetitive declarations can be removed.
<br>
Out of scope
* Handle the 404 errors through turbo responses too.
This can be unified by using the `rescue_from ActiveRecord::RecordNotFound` in the application controller, thus a lot of repetitive declarations can be removed.
<br>
Out of scope
* Handle the 404 errors through turbo responses too.