Ruby just state machine for plain and activerecord | Heykuki News