Person has one ContactInfo.
class Person < ActiveRecord::Base has_one :contact_info, :as
=> :contactable, :dependent => :destroy end
On rails 2.1.0 ContactInfo validation is done before Person
validation. So, I can catch the errors in the contact info in
Person after_validation call back. This is necessary since I only
display a single form to the user.
When I migrate the same code to 2.1.2, it looks like ContactInfo
validation is done after Person validation. So, I can not catch the
contact info error in Person after_validation call back.
To me, this looks like a problem that would affect many
applications since you can not catch dependent association
errors.