Skip to content
Rails plugin with polymorphic relationship in the module
Ruby JavaScript
Find file
Pull request Compare This branch is 1 commit ahead of johnmetta:inside-module.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.idea-bk
lib
test
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.markdown
Rakefile
polymorphic_plugin.gemspec

README.markdown

PolymorphicPlugin

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.

inside-module branch

This branch: 'inside-module' fails. The other branch: 'outside-module' passes.

Something went wrong with that request. Please try again.