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

clarify the touch true option does not trigger after_save/update [ci skip] #23387

Merged
merged 1 commit into from
Jan 31, 2016

Conversation

mcfiredrill
Copy link
Contributor

I've gotten tripped up more than a few times on this, thinking that
using belongs_to with touch: true would trigger my after_save or
after_update callbacks. The same text is in the documentation for the
touch method itself, but I think its helpful to repeat it again here.
It might save people some time.

…skip]

I've gotten tripped up more than a few times on this, thinking that
using `belongs_to` with `touch: true` would trigger my after_save or
after_update callbacks. The same text is in the documentation for the
touch method itself, but I think its helpful to repeat it again here.
It might save people some time.
@rails-bot
Copy link

r? @rafaelfranca

(@rails-bot has picked a reviewer for you, use r? to override)

kaspth added a commit that referenced this pull request Jan 31, 2016
clarify the touch true option does not trigger after_save/update [ci skip]
@kaspth kaspth merged commit 5c9ccca into rails:master Jan 31, 2016
@mcfiredrill mcfiredrill deleted the clarify-touching-callbacks branch February 1, 2016 00:17
@mcfiredrill
Copy link
Contributor Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants