MagLev/maglev — pull request #305 by niccokunzmann (2013-05-02 18:22:43+00:00)
Title: Added method to Module to raise expected TypeError instead of NameError

This was the error before the change:

NoMethodError: a MessageNotUnderstood occurred (error 2010), a Module does not understand #'newRubySubclass:instancesPersistent:fixedIvs:'

This is the error after the change:

TypeError: wrong argument type Module

This is the code that belongs to it:

class ProjectModel < MaglevRecord::RootedBase
end

See the commit message for more information.