diff options
author | Anthony Crumley <anthony.crumley@gmail.com> | 2018-05-08 21:48:07 -0500 |
---|---|---|
committer | Anthony Crumley <anthony.crumley@gmail.com> | 2018-05-10 12:46:06 -0500 |
commit | 258670244dae39616a50ec1116f52e91b6f0bc62 (patch) | |
tree | 6bb7d09613c9f8df3ec5e8e6661d338fde1b3153 /guides/source/active_model_basics.md | |
parent | 2161b78336bb9c2b169063c22af10485ff9a93e7 (diff) | |
download | rails-258670244dae39616a50ec1116f52e91b6f0bc62.tar.gz rails-258670244dae39616a50ec1116f52e91b6f0bc62.tar.bz2 rails-258670244dae39616a50ec1116f52e91b6f0bc62.zip |
Added a lot of Oxford commas
[ci skip] A regular expression was used to find a lot of missing Oxford
commas and add them. The regular expression was as follows.
", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
Diffstat (limited to 'guides/source/active_model_basics.md')
-rw-r--r-- | guides/source/active_model_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_model_basics.md b/guides/source/active_model_basics.md index ee0472621b..4b0ea32d7c 100644 --- a/guides/source/active_model_basics.md +++ b/guides/source/active_model_basics.md @@ -61,7 +61,7 @@ person.age_highest? # => false `ActiveModel::Callbacks` gives Active Record style callbacks. This provides an ability to define callbacks which run at appropriate times. -After defining callbacks, you can wrap them with before, after and around +After defining callbacks, you can wrap them with before, after, and around custom methods. ```ruby |