irb (main): 010: 0>profile.user_id = user.id
Traceback (most recent call last):
1: from (irb): 10
NameError (undefined local variable or method `user 'for main: Object)
Did you mean? Super
irb (main): 011: 0>

I want to create a console, but I get an error.

Confirmed by User.count, one is included.

Learning while watching the video, the video seems to work normally.

I have researched various things, but I can't find a clue for the solution.