Skip to content

Commit db9209d

Browse files
authored
Merge pull request rails#42479 from AdityaBhutani/fix-and-improve-guide-active-model-basics
[ci skip] Improved Active Model Basics
2 parents 9c091b4 + 2a3bf32 commit db9209d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

guides/source/active_model_basics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ irb> person.first_name_was
206206
=> nil
207207
```
208208

209-
Track both previous and current value of the changed attribute. Returns an array
209+
Track both previous and current values of the changed attribute. Returns an array
210210
if changed, otherwise returns nil.
211211

212212
```irb
@@ -253,9 +253,9 @@ ActiveModel::StrictValidationFailed
253253

254254
### Naming
255255

256-
`ActiveModel::Naming` adds a number of class methods which make naming and routing
256+
`ActiveModel::Naming` adds several class methods which make naming and routing
257257
easier to manage. The module defines the `model_name` class method which
258-
will define a number of accessors using some `ActiveSupport::Inflector` methods.
258+
will define several accessors using some `ActiveSupport::Inflector` methods.
259259

260260
```ruby
261261
class Person
@@ -486,7 +486,7 @@ Finished in 0.024899s, 240.9735 runs/s, 1204.8677 assertions/s.
486486
```
487487

488488
An object is not required to implement all APIs in order to work with
489-
Action Pack. This module only intends to provide guidance in case you want all
489+
Action Pack. This module only intends to guide in case you want all
490490
features out of the box.
491491

492492
### SecurePassword

0 commit comments

Comments
 (0)