Day 42: Nil:nil class method error
Have come across the annoying "undefined method nil NilClass" error. I assume the answer will probably yes. Well today we learnt how to handle the error using Rails' Null Object pattern. After reading a couple of blogs, we were able to understand how it works and opened a pr on the same. We are waiting for review from our mentor before moving forward.
- Removed deprecation warnings in Rails 5 by making all factories to be dynamic.
- Re-wrote the blog to include both of in the story.
- Read about single responsibility class to back up the talk we watched yesterday on how to break monolithic apps
You must be logged in to add a comment.