diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index 51712d6e5ec2..8524e691f5a9 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -607,6 +607,7 @@ ActiveRecord::RecordInvalid: Validation failed: Name can't be blank ``` In the example below, the create method returns an ActiveRecord object, even if it is invalid, which can then be checked for errors. + ```irb irb> user = User.create => #