NoMethodError in TasksController#create
undefined method `tasks' for nil:NilClass
I got this error.
I would appreciate it if someone could give me a hint.
Sorry for asking such an out-of-the-box question.
ruby-on-rails dotinstall
The meaning of the error is
I tried to use the method called create for the variable TasksController, but the current value of the TasksController, nil:NilClass, does not have such a method.
That means.
TasksController generation has failed, so we need to go back to where we created it and find the cause.
There are many simple typographical errors in variable names.
© 2024 OneMinuteCode. All rights reserved.