I've updated Ticket 6561 ( http://dev.rubyonrails.org/ticket/6561 )
with a new patch that rescues the ArgumentError triggered by anonymous
modules in the the reset_subclasses method. If one of the core members
could take a look at it and see if it is a more appropriate fix and
can be applied to edge I would greatly appreciate it.