jnunemaker/mongomapper — Issue #356: association reflector - rails compatible
Author: jjoe64
Created: 2011-12-05 08:52:52+00:00
State: open

some rails modules aren't working with this mongomapper because the access to the associations are different than in other ORMs.

So you have to add this into your models that it is compatible:

`
def self.reflect_on_association(x)
associations[x]
end
`