I get an error when creating a new class in the Rails controller.
How can I understand what is going on here? Thanks
Error: NoMethodError in MystudentsController
And this is a new function in the mystudent_controller.rb file:
def new @mystudent = Mystudent.new respond_to do |format| format.html
Tri.Huynh
source share