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

Use ActiveRecord serialize for a model to cover an entire json column #89

Merged
merged 2 commits into from
Jun 15, 2020

Conversation

jrochkind
Copy link
Owner

Closes #45

@jrochkind
Copy link
Owner Author

So, if you assign something that can not be cast, you will get an exception raised only the next time you try to access it and/or persist it, not immediately.

This differs from normal use of AR serialize. but it's tricky to fix in a performant way. Thinking about it. Needs tests one way or the other.

@jrochkind jrochkind merged commit 494606c into master Jun 15, 2020
@jrochkind jrochkind deleted the ar_serialize_whole_model branch February 24, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant