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

Travis update #41

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

pyromaniac
Copy link

@pyromaniac pyromaniac commented Jan 27, 2021

Hello folks. It seem like this gem need a bit more love. I decided to upgrade CI a bit and found that there is an incorrect spec and that the gem doesn't work with AR dirty since Rails 5. The only way to fix it for Rails >= 5.1 is to define an actual attribute with the attributes. But this leads to some confusing results. First of all, all the globalize-accessors attributes are now visible in the entity inspection. Secondly, they are all nils when the entity is loaded from the DB.

So we either accept this weird behavior or exclude globalize accessors from dirty tracking officially. I would do the latter. WDYT?

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