jnunemaker/mongomapper — pull request #338 by bjornblomqvist (2011-11-03 12:59:45+00:00)
Title: Makes formtastic happy, it expects the macro method to return :has_many o

Makes formtastic happy, it expects the macro method to return :has_many or similar.

See http://rubydoc.info/docs/rails/3.0.0/ActiveRecord/Reflection/MacroReflection#macro-instance_method for what this emulates.

Also see https://github.com/justinfrench/formtastic/blob/master/lib/formtastic/helpers/reflection.rb line 17 for where this method is used.