mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
aef47dcf937a5c9f150c50b73cffd9fa9eb64915
fixes the following scenarios: * I have validates_inclusion_of on the type field for a polymorphic belongs_to association. I assign a new record to the model's polymorphic relationship of the proper type. validation fails because the type field has not been updated. * I replace the value for a ppolymorphic association to a new record of another class. The type field still says its the previous class, and the id field points to the previous record as well.
Description
No description provided
Languages
Ruby
97.9%
CSS
1.5%
HTML
0.5%