aboutsummaryrefslogtreecommitdiffstats
path: root/version.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2015-02-10 17:02:24 -0800
committerclaudiob <claudiob@gmail.com>2015-02-10 17:02:24 -0800
commitc7331e057b4dd60aa810d3b412c43174a582432e (patch)
tree3afe4104b9c54a852683b557d39774e03c633474 /version.rb
parent162581a448ac6f3e52901a90000336f394226381 (diff)
downloadrails-c7331e057b4dd60aa810d3b412c43174a582432e.tar.gz
rails-c7331e057b4dd60aa810d3b412c43174a582432e.tar.bz2
rails-c7331e057b4dd60aa810d3b412c43174a582432e.zip
Fix wrong kwarg "record" from #18872
PR #18772 changed the parameters of `stale?` to use `kwargs`. [As for this comment](https://github.com/rails/rails/pull/18872/files#r24456288) the default value for the `etag` parameter should be `record`, not `nil`. This commit fixes the code and introduces a test that: - passed before #18872 - fails on the current master (after #18772) - passes again after setting the default value of `etag` to `record`.
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions