So i'm using Single Table inheritance for a Entry model. There is Text and File. Is there a best practice for outputting a partial and alternating between the two based on the 'type' column (WITHOUT using the type column as i've read this is bad practice).