title: How can I load multiple YAML files in rails application.rb
body: <p>I have many yaml files in config/ And I want to load all yaml files.</p>
  
  <p>EX: I have two .yml files name is: <code>application.yml</code> and <code>linkedin.yml</code>. I want to load both files with <code>application.rb</code>.</p>
  
  <p>To achieve this goal I Have written code in application.rb:</p>
  
  <pre><code>ENV.update YAML.load_file('config/application.yml')[Rails.env] rescue {}
  ENV.update YAML.load_file('config/linkedin.yml')[Rails.env] rescue {}
  </code></pre>
  
  <p>But this is not appropriate way, Please suggest me how can I load all yaml files access with <code>ENV</code> variable that. </p>