readme issues #7

razorg opened this Issue Jul 16, 2011 · 1 comment


None yet
2 participants

razorg commented Jul 16, 2011


In the readme examples about loading only plugins it says:

installPlugins(mongoose, 'resolveDBRefs') : just install the resolveDBRef plugin
Using this, you get this error :

TypeError: Object resolveDBRefs has no method 'forEach'
at Object.installPlugins (/mongoose-dbref/lib/index.js:87:17)

It should be installPlugins(mongoose, ['resolveDBRefs']) so you can iterate over the stuff to load.


goulash1971 commented Jul 18, 2011

Ah yes ... the problem isn't with the read me, it's with the code that figures the loading spec ... I've updated and pushed it (thanks for spotting the problem).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment