support sti in rails 4