How would one store a list of languages with there language code into a yaml and popuplate a :collection in rails form with? I now have below example but fails, any suggestions on what would be best option to tackle this problem?

**Application.yml:**

```
development:
  language:     [['English', 'en'], ['French', 'fr']]

production:
  language:     [['English', 'en']

```

**In rails form:**

```
= f.input :locale, :collection => APP_CONFIG['languages']

```