RailsCasts Pro episodes are now free!

Learn more or hide this

Vitor Oliveira's Profile

GitHub User: vitormil

Site: http://www.infosiscs.com.br

Comments by Vitor Oliveira

Avatar

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.