Skip to content

Remove ActiveRecord::Dirty usage #12

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

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Conversation

pimpin
Copy link
Collaborator

@pimpin pimpin commented Jan 8, 2025

TODO before undraft the PR :

  • check CI is green
  • Rework PR title and description

TODO before merge the PR :

  • Run CI of major project against that version

  • Consider which version change (likely a major one)

  • Add failing test to reproduce the unexpected behaviour

  • remove Active Model dirty

  • dirty fix with a reload

  • remove dirty fix NB : in AR, the cast is done at assignment time. Lets try to do it.

  • Working but strange implemntation.

  • Fix weird implem

pimpin added 6 commits January 6, 2025 15:33
NB : in AR, the cast is done at assignment time. Lets try to do it.
TODO : fix move casting stuff from serialize and place them in cast obviously
@pimpin pimpin changed the title Remove ActiveRecord::Dirty Remove ActiveRecord::Dirty usage Jan 8, 2025
And keep unchanged the serialize_value needed for queries (ie find_by_some_time)
@pimpin pimpin force-pushed the fix_save_return_for_nested branch from f4ae61b to 3d71024 Compare January 16, 2025 15:46
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