I’ve included
rescue_from ActiveRecord::RecordNotFound
in my application.rb file in order to catch and report all failed
ActiveRecord find operations. However, ActiveRecord does not raise
this exception from the dynamic finders that it includes in models.
So is the best practice to avoid use of the dynamic finders and only
use find() instead? Or is it common to make use of the dynamic
finders and have my controller raise ActiveRecord::RecordNotFound when
a dynamic finder returns nil? Just curious how others typically
handle this sort of thing.