rails/rails — pull request #17169 by kuldeepaggarwal (2014-10-03 19:42:26+00:00)
Title: STI cast new instances to `default type` on initialize.

fixes #17121