diff options
author | Washington Luiz <huoxito@gmail.com> | 2014-03-14 22:20:13 -0300 |
---|---|---|
committer | Washington Luiz <huoxito@gmail.com> | 2014-03-14 22:20:13 -0300 |
commit | ea3a73e720b5ffed6b6220dc9ce92776804cb06f (patch) | |
tree | f5e3b3783d9fef9a0e89ee4f032221bbdbd485d7 /guides/source/active_record_querying.md | |
parent | b4c96490eeb1fbb944e116c7703dd528b37fc08a (diff) | |
download | rails-ea3a73e720b5ffed6b6220dc9ce92776804cb06f.tar.gz rails-ea3a73e720b5ffed6b6220dc9ce92776804cb06f.tar.bz2 rails-ea3a73e720b5ffed6b6220dc9ce92776804cb06f.zip |
Still touch associations when theres no timestamp
Prior to Rails 4.0.4 when touching a object which doesn't have timestamp
attributes (updated_at / updated_on) rails would still touch all
associations. After 73ba2c14cd7d7dfb2d132b18c47ade995401736f it updates
associations but rollsback because `touch` would return nil since
there's no timestamp attribute
Diffstat (limited to 'guides/source/active_record_querying.md')
0 files changed, 0 insertions, 0 deletions