Sign in through GitHub

Please read for an updated status on RailsCasts:

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.