Hey, I just released a gem called Probably, it was inspired by NullObject episode and thoughtbot/wrapped gem. You may check it out here:
With this gem, instead of writing like this
user.most_recent.try(:answer) || Answer::MISSING
you just write
or like this
I’m looking for any advice for improvement on my code, and I appreciate any help from you guys!