@@ -857,12 +857,12 @@ In the event you need to access nested attributes within a given model, you shou
en:
activerecord:
attributes:
user/subscribed_to_newsletter:
true:"True"
false:"False"
user/role:
admin:"Admin"
contributor:"Contributor"
```
Then `User.human_attribute_name("subscribed_to_newsletter.true")` will return "True".
Then `User.human_attribute_name("role.admin")` will return "Admin".
NOTE: If you are using a class which includes `ActiveModel` and does not inherit from `ActiveRecord::Base`, replace `activerecord` with `activemodel` in the above key paths.