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

log_data empty until the model is reloaded #91

Closed
bdiesel opened this issue Oct 6, 2018 · 1 comment
Closed

log_data empty until the model is reloaded #91

bdiesel opened this issue Oct 6, 2018 · 1 comment

Comments

@bdiesel
Copy link

bdiesel commented Oct 6, 2018

I'm having an issue where my log_data is nil until after I reload the model. Should the log_data attribute be populate automatically after save?

@palkan
Copy link
Owner

palkan commented Oct 10, 2018

Should the log_data attribute be populate automatically after save?

Nope. That's an expected behaviour. log_data is generated DB-side, so we have to re-fetch data (e.g. reload) to access it.

@bdiesel bdiesel closed this as completed Oct 10, 2018
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

No branches or pull requests

2 participants