Reproduce an issue #2451 and fix it with a patch
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
log
public
script
test
README
Rakefile
ticket-2451-patch.diff

README

== About this project

This is an application which reproduce the following bug:
https://rails.lighthouseapp.com/projects/8994/tickets/2451-has_many-through-associations-give-different-results-depending-on-eager-loading-via-include


== How to reproduce the issue

When you execute test i.e. rake test, the test will get failed. See test/unit/user_test.rb


== The way to fix the problem

If you submit the patch named ticket-2451-patch.diff, the issue will be fixed and the test will be passed.