aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb
diff options
context:
space:
mode:
authorSiim Liiser <siim@wisemedia.ee>2016-01-13 11:19:23 +0200
committerAndrew White <andrew.white@unboxedconsulting.com>2016-04-04 00:00:31 +0100
commit9c2c677d903bcdea3feb1cad6c6d4c8c07cc8034 (patch)
tree6a91583bda2febe69db837af6eac54679b8ab22f /actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb
parent08073125a5bd4cae0f2e02723e7743a389d496cd (diff)
downloadrails-9c2c677d903bcdea3feb1cad6c6d4c8c07cc8034.tar.gz
rails-9c2c677d903bcdea3feb1cad6c6d4c8c07cc8034.tar.bz2
rails-9c2c677d903bcdea3feb1cad6c6d4c8c07cc8034.zip
Match `String#to_time`'s behaviour to ruby
Previously `String#to_time` returned the midnight of the current date in some cases where there was no relavant information in the string. Now the method returns `nil` instead in those cases. Fixes #22958.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb')
0 files changed, 0 insertions, 0 deletions