rails/rails — pull request #7959 by georgebrock (2012-10-16 09:37:02+00:00)
Title: Fixes #7950: Has many include for new records

Fixes incorrect behaviour of `#include?` on `has_many` associations for unsaved records. See issue #7950 for code examples and a discussion of the bug.