diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-03-14 19:31:05 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-14 19:31:05 +0900 |
commit | bfc5e3d163a1dbd7fcf0381e771d28ee06caf8ed (patch) | |
tree | 63b62568599b0c0f972c16e654b627284ab6b93e /guides | |
parent | 29709cd3f3b997015071bbe9336744b5673bc587 (diff) | |
parent | 96c525f2509a9ec1890c5218f6a65b22660b97f7 (diff) | |
download | rails-bfc5e3d163a1dbd7fcf0381e771d28ee06caf8ed.tar.gz rails-bfc5e3d163a1dbd7fcf0381e771d28ee06caf8ed.tar.bz2 rails-bfc5e3d163a1dbd7fcf0381e771d28ee06caf8ed.zip |
Merge pull request #28410 from fphilipe/remove-obsolete-warning-in-guides
Remove obsolete warning about regular expression
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_validations.md | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 32b38cde5e..5313361dfd 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -490,9 +490,6 @@ If you set `:only_integer` to `true`, then it will use the regular expression to validate the attribute's value. Otherwise, it will try to convert the value to a number using `Float`. -WARNING. Note that the regular expression above allows a trailing newline -character. - ```ruby class Player < ApplicationRecord validates :points, numericality: true |