diff options
author | Tony Miller <mcfiredrill@gmail.com> | 2016-02-01 06:29:00 +0900 |
---|---|---|
committer | Tony Miller <mcfiredrill@gmail.com> | 2016-02-01 06:29:00 +0900 |
commit | 8d25a8aa8c1f67603ad9aaff397bca729afeed1e (patch) | |
tree | f213349728b3862dbc88c2c7b01529221476871f /activerecord/test/cases/adapters/mysql2/schema_test.rb | |
parent | 960de47f0eef79d234eb3cfc47fabb470fef1529 (diff) | |
download | rails-8d25a8aa8c1f67603ad9aaff397bca729afeed1e.tar.gz rails-8d25a8aa8c1f67603ad9aaff397bca729afeed1e.tar.bz2 rails-8d25a8aa8c1f67603ad9aaff397bca729afeed1e.zip |
clarify the touch true option does not trigger after_save/update [ci 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.
Diffstat (limited to 'activerecord/test/cases/adapters/mysql2/schema_test.rb')
0 files changed, 0 insertions, 0 deletions