aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-01-15 21:53:57 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2017-01-15 21:53:57 +0100
commita5632d84957139aa2d471703b22edc095b21ea78 (patch)
tree1fad0c283bbb43435f3bc2bbfae0f5cae8801dad /actionpack/lib/action_dispatch/routing.rb
parentf8a3981beb4221c230a2dc366db5fcc5e276f035 (diff)
downloadrails-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 'actionpack/lib/action_dispatch/routing.rb')
0 files changed, 0 insertions, 0 deletions