Handling Nil in Crystal

February 26, 2022
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.

Video Instructor image
Stephen 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.


No submitted questions have been marked as an FAQ, but yours could be the first!