rails/rails — pull request #11292 by freegenie (2013-07-04 13:22:43+00:00)
Title: specify a custom type string for model in STI

This one adds some more flexibilty AR when it comes to work with legacy databases. Several other frameworks use the 'inheritance' column and it would be fine to have AR able to understand those strings as well and translate to the appropriate AR models.

This allows you to specify the string which maps to the current model, for instance:

```
class LegacyPost < LegacyContent
self.inheritance_name = '_name_used_by_other_framework'
end
```

It is working for me in a project I'm currently working on and I think it would e a nice and simple addition to AR.
If anybody thinks it's worth I can go ahead and work out test cases and docs.