diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-01-15 21:53:57 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2017-01-15 21:53:57 +0100 |
commit | a5632d84957139aa2d471703b22edc095b21ea78 (patch) | |
tree | 1fad0c283bbb43435f3bc2bbfae0f5cae8801dad /railties/RDOC_MAIN.rdoc | |
parent | f8a3981beb4221c230a2dc366db5fcc5e276f035 (diff) | |
download | rails-a5632d84957139aa2d471703b22edc095b21ea78.tar.gz rails-a5632d84957139aa2d471703b22edc095b21ea78.tar.bz2 rails-a5632d84957139aa2d471703b22edc095b21ea78.zip |
Revert "Don't guard against `touch: []`."
`timestamp_attributes_for_updates_in_model` returns an empty
array when a model has no `updated_at` or `updated_on`.
So my previously thought uncommon case is a lot more likely
now.
This reverts commit a0a1ede8c2eb6436571eae8778033162d1f9dcc3.
Diffstat (limited to 'railties/RDOC_MAIN.rdoc')
0 files changed, 0 insertions, 0 deletions