YAML file configuration in ruby & rails

While coding in ruby and rails, we often requires variables to be initialized that can be usedacross application. There are many ways to define configuration variables1. Initialize variables inside environment file # This agencies can be used across application AGENCIES = ['TIMES NEWS NETWORK', 'AGENCIES', 'AFP', 'PTI'] # Configuration for html nodes Article_title_tag = "h1.heading" … Continue reading YAML file configuration in ruby & rails