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

Remove data store accessor from ingredient base class #2183

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Aug 27, 2021

What is this pull request for?

Remove data store accessor from ingredient base class

This was necessary before we started to use Rails' data store feature in
#2171

This currently leads to weird bugs around active record dirty falsy thinking
the attribute set is not dirty, leading
to the data store not being saved.

Checklist

This was necessary before we started to use Rails' data store feature in
AlchemyCMS#2171

This currently leads to weird bugs around active record dirty falsy thinking
the attribute set is not dirty, leading
to the data store not being saved.
@tvdeyen tvdeyen requested a review from mamhoff August 27, 2021 14:55
@tvdeyen tvdeyen added this to the 6.0 milestone Aug 27, 2021
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending green specs, of course - but we did pair on this and it definitely is the right thing to do.

@tvdeyen tvdeyen enabled auto-merge August 27, 2021 15:00
@tvdeyen tvdeyen merged commit 1fdf732 into AlchemyCMS:main Aug 27, 2021
@tvdeyen tvdeyen deleted the fix-ingredients-data-store branch August 27, 2021 15:01
@tvdeyen
Copy link
Member Author

tvdeyen commented Aug 27, 2021

What? Why has GitHub merged this if there where specs failing?

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.

2 participants