Toggle navigation
Babar Al-Amin
Home
Blog
Hire Me
Resume
Stackoverflow
Adda with Babar
#til
Read any YAML config file in Rails with ease
Posted
over 2 years ago
in
Ruby
. Tagged with:
Rails
,
Tips
,
Ruby
,
TIL
(
permalink
)
Few days ago I stummbled upon a cool helper method in Rails called config_for. It's super useful to read any YAML based config files with ease. Let me show you.