| Class | MongoMapper::Plugins::Associations::Proxy |
| In: |
lib/mongo_mapper/plugins/associations/proxy.rb
|
| Parent: | Object |
| respond_to? | -> | proxy_respond_to? |
| extend | -> | proxy_extend |
| target | -> | proxy_target |
| association | -> | proxy_association |
| association | [R] | |
| proxy_owner | [R] | |
| target | [R] |
Active support in rails 3 beta 4 can override to_json after this is loaded, at least when run in mongomapper tests. The implementation was changed in master some time after this, so not sure whether this is still a problem.
In rails 2, this isn‘t a problem however it also solves an issue where to_json isn‘t forwarded because it supports to_json itself