On Thursday, 10 July 2014 16:34:05 UTC+1, Eric Roberts wrote: > So, after all of that, I guess what I'm after is finding out if doing such > a thing is possible in Rails as is. If not, would a patch to make it > possible be desired by people other than myself? And if that patch made > find_sti_class part of the public interface, would that be likely to be > accepted? >
If it could be written so that there's a single method to overwrite to provide a custom mapping from column value to class and it had no impact on performance then it should stand a pretty good chance. Andrew White Rails Core Team Member -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
