diff options
author | Abdelkader Boudih <terminale@gmail.com> | 2015-01-22 14:38:18 +0000 |
---|---|---|
committer | Abdelkader Boudih <terminale@gmail.com> | 2015-01-22 14:38:18 +0000 |
commit | fd6c8b6f3429371fe1b7b6b9fc2cb43aee7fdd56 (patch) | |
tree | c0b034fbd5c3a2793ce9455010ad902d41babd59 /guides/source | |
parent | 4b6449f84d983f961419e834c86f97b578b9eb23 (diff) | |
parent | fce9c4e5e1ecb31cff2ca43a04fbe332816c3c45 (diff) | |
download | rails-fd6c8b6f3429371fe1b7b6b9fc2cb43aee7fdd56.tar.gz rails-fd6c8b6f3429371fe1b7b6b9fc2cb43aee7fdd56.tar.bz2 rails-fd6c8b6f3429371fe1b7b6b9fc2cb43aee7fdd56.zip |
Merge pull request #18642 from y-yagi/active_record_validations_guide
fix regexp for validate an integer in guides [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_validations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 84925072f2..67cc6a4db3 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -470,7 +470,7 @@ point number. To specify that only integral numbers are allowed set If you set `:only_integer` to `true`, then it will use the ```ruby -/\A[+-]?\d+\Z/ +/\A[+-]?\d+\z/ ``` regular expression to validate the attribute's value. Otherwise, it will try to |