Skip to content

Rename process_associations_before/after methods#11165

Draft
ChrisBAshton wants to merge 1 commit intomainfrom
rename
Draft

Rename process_associations_before/after methods#11165
ChrisBAshton wants to merge 1 commit intomainfrom
rename

Conversation

@ChrisBAshton
Copy link
Copy Markdown
Contributor

The original naming implied that the trait methods were called every time an edition were updated, when in fact these methods are only called when a new draft is created (not just 'on save' on a given edition).

I think this rename makes the actual behaviour clearer.


⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

This application is owned by the Whitehall Experience team. Please let us know in #govuk-whitehall-experience-tech when you raise any PRs.

Follow these steps if you are doing a Rails upgrade.

The original naming implied that the trait methods were called
every time an edition were updated, when in fact these methods
are only called when a new draft is created (not just 'on save'
on a given edition).

I think this rename makes the actual behaviour clearer.
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

Successfully merging this pull request may close these issues.

1 participant