Skip to content
Snippets Groups Projects
Commit 39fe77fa authored by Alex Reisner's avatar Alex Reisner
Browse files

Add Troubleshooting section.

Document uninitialized constant error with Mongoid.
parent ee7e5223
No related branches found
No related tags found
No related merge requests found
......@@ -590,6 +590,17 @@ You can also do this to raise all exceptions:
See `lib/geocoder/exceptions.rb` for a list of raise-able exceptions.
Troubleshooting
---------------
If you get one of these errors:
uninitialized constant Geocoder::Model::Mongoid
uninitialized constant Geocoder::Model::Mongoid::Mongo
you should check your Gemfile to make sure the Mongoid gem is listed _before_ Geocoder. If Mongoid isn't loaded when Geocoder is initialized, Geocoder will not load support for Mongoid.
Known Issue
-----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment