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

Issue with setting and then getting attributes #291

Closed
josephmancuso opened this issue Jan 3, 2021 · 0 comments · Fixed by #292
Closed

Issue with setting and then getting attributes #291

josephmancuso opened this issue Jan 3, 2021 · 0 comments · Fixed by #292
Labels
bug An existing feature is not working as intended

Comments

@josephmancuso
Copy link
Member

There seems to be an issue with getting attributes that have just been set. For example if we need to set an attribute like customer_id this done not work:

user = User.find(1)
user.customer_id #== '1'
user.customer_id = 2
user.customer_id #== still shows 1
@josephmancuso josephmancuso added the bug An existing feature is not working as intended label Jan 3, 2021
@josephmancuso josephmancuso linked a pull request Jan 3, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An existing feature is not working as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant