Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Vitor Oliveira's Profile

GitHub User: vitormil


Comments by Vitor Oliveira


I would recommend to use CONFIG.fetch(:key) instead of CONFIG[:key]. If for some reason the :key does not exist an KeyError exception will be raised.