-
Notifications
You must be signed in to change notification settings - Fork 898
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
Set up dialog_field relationships through DialogFieldAssociations #15566
Set up dialog_field relationships through DialogFieldAssociations #15566
Conversation
5224026
to
f95a9aa
Compare
Tests are failing due to needed migration. Will need to be restarted after the migration PR gets merged. |
f47861d
to
d9fb67b
Compare
d9fb67b
to
ce2c185
Compare
Updated with different association names. Instead of Similarly, Hopefully that clears things up. |
Checked commit eclarizio@ce2c185 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we name '''dialog_field.dialog_field_responders''' something less clunky?
@d-m-u I preferred this name as it makes it clearer that we are expecting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
@gmcculloug Restarting travis should fix the specs now that the schema PR has been merged. |
This will allow us to set up associations directly between dialog fields, which we will be using for the targeted auto refresh.
There are two associations,dialog_field_trigger_associations
anddialog_field_respond_associations
. I (originally) went with the verbose name but I think justtrigger_associations
andrespond_associations
is fine too.This PR requires a migration, which can be found here.
https://www.pivotaltracker.com/story/show/148838143
@miq-bot assign @gmcculloug