Ruby: "nameerror: uninitialized constant" issue
Example:
SomeClass.new
This error is raised when you reference a class or module that doesn't exist or hasn't been required yet.
Solution:
require 'some_class'
SomeClass.new
Example: Solution:Ruby: "nameerror: uninitialized constant" issue
This error is raised when you reference a class or module that doesn't exist or hasn't been required yet.
SomeClass.new
require 'some_class'
SomeClass.new