回答編集履歴

1

user -> users

2020/09/27 03:21

投稿

my_oji
my_oji

スコア39

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