Mark Van Holstyn schrieb:
> I am attempting to create a plugin, with some methods in my own module.
> These would then be included to various pieces of active record. This works
> fine when including them in classes, but when including them in a module,
> the classes which include that module do not get the methods. These classes
> do however get them when directly reopening the module. Is there any way
> around this, or is it best to just reopen the module and define the new
> methods?
> (...)

Mark, this is a known limitation of the current Ruby implementation. It 
has been discussed on the mailing lists. The only workaround I know is 
to re-include the module:

   class B
     include A
   end

   p B.new.test_two  # => "test_two"

Regards,
Pit