Skip to content

Commit 4346102

Browse files
committed
Merge pull request #15002 from vanderhoop/master
typo fixes in active_record_basics.md [skip ci]
2 parents 350e3d7 + b345fc2 commit 4346102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/active_record_basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,10 @@ into the database. There are several methods that you can use to check your
309309
models and validate that an attribute value is not empty, is unique and not
310310
already in the database, follows a specific format and many more.
311311

312-
Validation is a very important issue to consider when persisting to database, so
312+
Validation is a very important issue to consider when persisting to the database, so
313313
the methods `create`, `save` and `update` take it into account when
314314
running: they return `false` when validation fails and they didn't actually
315-
perform any operation on database. All of these have a bang counterpart (that
315+
perform any operation on the database. All of these have a bang counterpart (that
316316
is, `create!`, `save!` and `update!`), which are stricter in that
317317
they raise the exception `ActiveRecord::RecordInvalid` if validation fails.
318318
A quick example to illustrate:

0 commit comments

Comments
 (0)