Quick corrections:

  MyPlugin::MyModule

that would be:

  module MyPlugin::MyModule

You can also hook up to the method_defined ruby callback

I meant method_added, as seen in the example code (which is tested, meaning you can run it in irb and see it working)

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to