rails/rails — pull request #8295 by senny (2012-11-22 14:09:37+00:00)
Title: backport #8291, prevent mass assignment of polymorphic type with `build`

This is a backport of #8291

Closes #8265

Conflicts:

activerecord/CHANGELOG.md
activerecord/lib/active_record/associations/association.rb