class InnovationSerializer < ActiveModel::Serializer
  attributes :id, :title, :abstract, :body, :consented, :novelty_score, :value_score, :usability_score, :tooling_score, :lifespan_score

  has_many :tags, through: :innovation_tags
  has_many :collections, through: :collection_innovations
  has_many :reviews
  has_many :revisions
end

class InnovationSerializer < ActiveModel::Serializer
  attributes :id, :title, :abstract, :body, :consented, :novelty_score, :value_score, :usability_score, :tooling_score, :lifespan_score, :user_id

  has_many :tags, through: :innovation_tags
  has_many :collections, through: :collection_innovations
  has_many :reviews
  has_many :revisions
end

Add user_id to innovation serializer
Add user_id to innovation serializer
