From 1018a5a7fbc4aeddb59fa47bf055725715fd329c Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Tue, 15 Feb 2022 17:27:11 +0300 Subject: [PATCH] Fix typo in guide for scopes for has_and_belongs_to_many association --- guides/source/association_basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index 164f417018..fb02ae0a48 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -2492,7 +2492,7 @@ class Parts < ApplicationRecord end ``` -If you use a hash-style `where`, then record creation via this association will be automatically scoped using the hash. In this case, using `@parts.assemblies.create` or `@parts.assemblies.build` will create orders where the `factory` column has the value "Seattle". +If you use a hash-style `where`, then record creation via this association will be automatically scoped using the hash. In this case, using `@parts.assemblies.create` or `@parts.assemblies.build` will create assemblies where the `factory` column has the value "Seattle". ##### `extending`