Skip to content

Idea: Publish definition should allow for associated model updates #7

Description

@influitive-server

Some models have methods that do not actually change the table. They have methods that are actually part of a different table. When setting up a publish you should be able to specify which other models should cause an update to the current publish

ie..

  publish fields: [
    :email_digest_send,
    :email_digest_last_sent
  ], identify_by: [:source_id, :database],
  publish_associate_model: [
     :CompanyMeta
  ]


side note: Using a symbol instead of Constant prevents loading errors with Rails.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions