You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.
On the Installation page in the Documentation under Configuration raise_not_found_error, it says that it will raise a Mongoid::Error::DocumentNotFound exception. When I added a line to rescue_from that exception and display an appropriate error page, I got an uninitialized constant Mongoid::Error exception.
After some research, I found the proper name is Mongoid::Errors::DocumentNotFound (note the plural Errors) which is not what it says in the documentation.
The text was updated successfully, but these errors were encountered:
On the Installation page in the Documentation under Configuration raise_not_found_error, it says that it will raise a Mongoid::Error::DocumentNotFound exception. When I added a line to rescue_from that exception and display an appropriate error page, I got an uninitialized constant Mongoid::Error exception.
After some research, I found the proper name is Mongoid::Errors::DocumentNotFound (note the plural Errors) which is not what it says in the documentation.
The text was updated successfully, but these errors were encountered: