A sample Rails 3.1 plugin designed to illustrate the problems of building a polymorphic :has_many, :through relationship in a pluggable Rails module.
There's a StackOverflow thread describing the problem this is trying to solve.
See the blog post for the full description of this repository and the behavior.
Look at polymorphic_plugin_test.rb file to see what's going on.
This branch: 'inside-module' fails. The other branch: 'outside-module' passes.