Skip to content
Poignant Guide Ruby Q&A
Sections

nil

1 thread tagged with this topic

Threads tagged nil

  1. ✓

    What does undefined method for nil:NilClass mean, and how do I fix it?

    This error means you called a method on nil, Ruby's value for nothing, and nil does not have that method. The bug is almost never the method name. It is the...

    Errors and debugging helpFenwick HaleStaff answer
    0replies
Poignant Guide Ruby Q&A. Questions and answers on learning Ruby and programming: syntax, blocks, objects, gems, Rails, debugging and reading the Poignant Guide.