I’ve made a PR to have test fixture files ending in
.yml.erb get picked up by ActiveRecord.
My motivation behind this was that
- I was surprised when given that
.xml.erbfiles are picked up inside
foo.yml.erbfile wasn’t picked up inside
- My text editor, Vim, didn’t apply the correct syntax highlighting for the ERB syntax unless the file extension ended in
However as Petrik de Heus pointed out, this adds more complexity. What should be the proper behaviour here?