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

Undefined method on cached objects #79

Closed
abhishek77in opened this issue Feb 29, 2020 · 2 comments
Closed

Undefined method on cached objects #79

abhishek77in opened this issue Feb 29, 2020 · 2 comments

Comments

@abhishek77in
Copy link

I have model called "Setting", I am trying to cache setting object in memory to prevent repeated database calls. But I am getting

undefined method high? for #<Setting:0x00007fe7438534c8>

Here high is a boolean variable.

@byroot
Copy link
Owner

byroot commented Mar 2, 2020

Your issue isn't actionable because you don't give any relevant information that would allow me to answer you.

Closing for now, I'll re-open if you provide a reproduction script, or at least a code snippet, backtrace etc.

@byroot byroot closed this as completed Mar 2, 2020
@abhishek77in
Copy link
Author

You are right. Sorry about that. Will post more details.

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