Skip to content

Instantly share code, notes, and snippets.

@nateware
Created October 22, 2009 17:57
Show Gist options
  • Save nateware/216136 to your computer and use it in GitHub Desktop.
Save nateware/216136 to your computer and use it in GitHub Desktop.
patch to fix mongo_mapper require issue
--- mongo_mapper-0.5.5/lib/mongo_mapper/associations/many_documents_proxy.rb.orig 2009-10-22 10:55:04.000000000 -0700
+++ mongo_mapper-0.5.5/lib/mongo_mapper/associations/many_documents_proxy.rb 2009-10-22 10:54:26.000000000 -0700
@@ -4,7 +4,7 @@
delegate :klass, :to => :@association
delegate :collection, :to => :klass
- include MongoMapper::Finders
+ include ::MongoMapper::Finders
def find(*args)
options = args.extract_options!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment