I have a class named Post:
Post
class Post < ActiveRecord::Base end
I have a class named Question that inheriting f
Question
This might be what you're looking for.
http://lorefnon.me/2014/07/27/optimizing-sti-columns.html
EDIT: Updated URL (thanks @SubhashChandran)