diff options
author | yui-knk <spiketeika@gmail.com> | 2015-03-02 00:37:58 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-03-02 00:37:58 +0900 |
commit | a1035ad2382045664b17d643c9b2c57a12e1a81b (patch) | |
tree | 0686fc9302c3c097fa07da47a3624ec9acbec7a4 /guides | |
parent | dcfd4bf2231cb15577438b0b2c581e524212683d (diff) | |
download | rails-a1035ad2382045664b17d643c9b2c57a12e1a81b.tar.gz rails-a1035ad2382045664b17d643c9b2c57a12e1a81b.tar.bz2 rails-a1035ad2382045664b17d643c9b2c57a12e1a81b.zip |
[ci skip] Fix fenced code block lang
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/4_0_release_notes.md | 2 |
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 700959489b..bd35e2d31a 100644 --- a/guides/source/4_0_release_notes.md +++ b/guides/source/4_0_release_notes.md @@ -181,7 +181,7 @@ Please refer to the [Changelog](https://github.com/rails/rails/blob/4-0-stable/a * `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: - ``` + ```ruby # ActiveSupport 3.x "asdf".to_date # => NoMethodError: undefined method `div' for nil:NilClass "333".to_date # => NoMethodError: undefined method `div' for nil:NilClass |