class <%= klass %> < ActiveRecord::Base
  attr_accessible :to_state, :metadata, :sort_key
  belongs_to :<%= parent.underscore %>, inverse_of: :<%= table_name %>
  serialize :metadata
end

class <%= klass %> < ActiveRecord::Base
  include Statesman::Adapters::ActiveRecordTransition

  attr_accessible :to_state, :metadata, :sort_key
  belongs_to :<%= parent.underscore %>, inverse_of: :<%= table_name %>
end

Update generator to include transition mixin
Update generator to include transition mixin
