aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorPeter Vandenabeele <peter@vandenabeele.com>2013-11-16 15:33:14 +0100
committerPeter Vandenabeele <peter@vandenabeele.com>2013-11-16 15:33:14 +0100
commit76d4dd6e05c5b6937d0a584e4c408936dd33f35f (patch)
tree29048d8241e07c56323b2302bfef13904ca68fad /guides/source
parent38b312a86f09bcedd597dc9d64db6705650f3216 (diff)
downloadrails-76d4dd6e05c5b6937d0a584e4c408936dd33f35f.tar.gz
rails-76d4dd6e05c5b6937d0a584e4c408936dd33f35f.tar.bz2
rails-76d4dd6e05c5b6937d0a584e4c408936dd33f35f.zip
[ci skip] typo in ArgumentError exception
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/4_0_release_notes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/4_0_release_notes.md b/guides/source/4_0_release_notes.md
index 3790beccdf..c0eb77c1e7 100644
--- a/guides/source/4_0_release_notes.md
+++ b/guides/source/4_0_release_notes.md
@@ -173,7 +173,7 @@ Please refer to the [Changelog](https://github.com/rails/rails/blob/4-0-stable/a
* `Object#try` will now return nil instead of raise a NoMethodError if the receiving object does not implement the method, but you can still get the old behavior by using the new `Object#try!`.
-* `String#to_date` now raises `Argument Error: invalid date` instead of `NoMethodError: undefined method 'div' for nil:NilClass`
+* `String#to_date` now raises `ArgumentError: invalid date` instead of `NoMethodError: undefined method 'div' for nil:NilClass`
when given an invalid date. It is now the same as `Date.parse`, and it accepts more invalid dates than 3.x, such as:
```