class PlanSerializer < ActiveModel::Serializer
  attributes :id, :date, :income
  has_many :purchases
end

class PlanSerializer < ActiveModel::Serializer
  attributes :id, :date, :income
  has_many :purchases
  has_many :users
end

Add has_many relationship to plan serializer
Add has_many relationship to plan serializer
