module TaskManager class PlanSerializer < ActiveModel::Serializer attributes :id, :name, :plan_type, :data, :enabled_at, :begin_to_remind, :autocompletable, :created_at, :updated_at has_many :assignees has_many :callbacks end end