Hi,
Hopefully someone can point me in the right direction. I have a en.yml file
en:
hello: "Hello world"
activerecord:
models:
recipe: "Recipe"
attributes:
recipe:
title: "Recipe title"
errors:
models:
recipe:
attributes:
title:
blank: "{{attribute}} cannot be left blank"
In my model I validate the presence of the title field
validates_presence_of :title
However, the error message that I see on the page is something like this
Recipe title Recipe title cannot be left blank.
I cannot figure out why the attribute name is repeated twice.
Any ideas?