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
Here is a stripped down example of the problematic code...
A.send :include, C
NoMethodError: undefined method `test_two' for #<B:0xa7b8ddbc>