@geemus I dunno. I thought it was a rails thing.

rest of code is in NilClass#try If you click “Show source” here, you may get confused. The logic for #try is shared between this method and NilClass#try . Both versions are currently implemented in the file activesupport/lib/active_support/core_ext/object/try.rb .