Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Typo on Installation Page #26

Closed
tazsingh opened this issue Nov 18, 2010 · 1 comment
Closed

Typo on Installation Page #26

tazsingh opened this issue Nov 18, 2010 · 1 comment

Comments

@tazsingh
Copy link
Contributor

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.

@durran
Copy link
Member

durran commented Apr 3, 2011

Fixing typo on installation page. Closed by 97c4e50.

@durran durran closed this as completed Apr 3, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants