Handling Nil in Crystal
Have you run into an error that goes something like "undefined method 'id' for Nil (compile-time type is (User | Nil))". Understand the error and how to resolve it in this LuckyCast!
4m 17sBeginner
Having trouble?Ask the instructor.
Ask a question
Struggling with this video content? Drop us a line.
This feature is only available to Pro subscribers.
YourInstructor
|Stephen DolanStephen is the creator of LuckyCasts and a core member of the Lucky team.
His focus is on building out the Lucky and Crystal community with educational content and supplemental libraries.
Source code
FAQs
No submitted questions have been marked as an FAQ, but yours could be the first!