Rails の STI で type カラムに入れる値を変える - Qiita
メモ。STI (Single Table Inheritance) を使ってこんな構造を作りたいとする。class Task < ActiveRecord::Baseendclass Abst…