This project is archived and is in readonly mode.

#547 ✓wontfix
ronin-18882 (at lighthouseapp)

Polymorphic Associations & STI don't record the correct model type

Reported by ronin-18882 (at lighthouseapp) | July 3rd, 2008 @ 08:35 PM | in 2.x

When using a polymorphic association on a model that uses STI, the correct model type is not recorded.

This has been identified before and is actually fixed with the patch here by removing instances of base_class:

http://dev.rubyonrails.org/attac...

Is there a reason that this cannot be applied?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>