回答編集履歴
1
user -> users
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
```ruby
|
8
8
|
|
9
|
-
@user_infos = UserInfo.joins(:user).where(user: { gender: "男"})
|
9
|
+
@user_infos = UserInfo.joins(:user).where(users: { gender: "男"})
|
10
10
|
|
11
11
|
```
|
12
12
|
|