rails/guides
Ryan Ong d7d04e6a83
Use Ruby regex for email validation in guide example
existing email regex allowed for invalid emails and invalidated valid emails

- The following emails are shown to be valid emails when they are not:
    - `email_<script></script>_123@example.co.in`
    - `email"123@example.com`
    - `email..123@example.com`
    - `.email123@example.com`
... and a few more

- The following email is shown to be an invalid email when it is valid:
    - `email@123.123.12.123`

Lets use the default ruby regex instead
2021-12-10 10:47:22 -05:00
..
assets Merge pull request #42989 from jharrilim/patch-2 2021-09-20 16:28:14 -04:00
bug_report_templates Start Rails 7.1 development 2021-12-07 15:52:30 +00:00
rails_guides Render copy-to-clipboard text in element attribute [ci-skip] 2021-07-23 12:52:10 -05:00
source Use Ruby regex for email validation in guide example 2021-12-10 10:47:22 -05:00
.document
CHANGELOG.md Start Rails 7.1 development 2021-12-07 15:52:30 +00:00
Rakefile Remove non-existing encoding task dependency 2021-11-12 17:00:33 +00:00
rails_guides.rb Use safe nav operator when calling RailsGuides::Generator.new 2018-12-05 12:41:07 +09:00
w3c_validator.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00