jnunemaker/mongomapper — pull request #364 by balexand (2011-12-14 01:27:17+00:00)
Title: ActiveRecord compatible association reflection

This pull request provides an ActiveRecord compatible API for reflecting on associations. It allows MongoMapper to be used with association helpers in simple_form and formtastic. It would close #356 and it is an alternative to #362.

I prefer this approach of using an adapter over the approach in #362. I've tested this in simple_form but not formtastic. After @bkeepers decides which, if either, of the pull requests to merge then I'd be happy to test with simple_form. Maybe @jjoe64 and @bjornblomqvist can test with formtastic.

@bkeepers Let me know if you have any feedback. I'd be happy revise things.