Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
influitive-server opened this issue Sep 1, 2015 · 0 comments

Comments

@influitive-server
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant