mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
0580b31b36
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. [#191 state:closed] |
||
---|---|---|
.. | ||
belongs_to_associations_test.rb | ||
callbacks_test.rb | ||
cascaded_eager_loading_test.rb | ||
eager_load_nested_include_test.rb | ||
eager_singularization_test.rb | ||
eager_test.rb | ||
extension_test.rb | ||
has_and_belongs_to_many_associations_test.rb | ||
has_many_associations_test.rb | ||
has_many_through_associations_test.rb | ||
has_one_associations_test.rb | ||
has_one_through_associations_test.rb | ||
inner_join_association_test.rb | ||
join_model_test.rb |