rails/rails — pull request #14971 by versioncontrol (2014-05-04 13:31:42+00:00)
Title: Baseclass becomes! subclass

Before this change, a record which changed its STI type, could not be found when updated.
Setting update_record to the base class, ensures the record can be found.

The idea was proposed by @matthewd in #14887
It fixes #14785