Simple backend and nested models

Hi,

I’ve been looking around a fair bit on Google, but haven’t been able
to answer my own question. I have a form that includes an association
that uses nested_attributes. When using the label method that uses
something like :feature_attributes – where should one be putting the
feature model attribute translations. I’ve tried putting them in the
standard place for models (e.g.
activerecord.attributes.feature.published_at) and I’ve tried nesting
them under the model attributes that it’s associated with. Can anybody
shed some light on this? I am looking at what will be Rails 2.3.6.

Thanks,
Cedric

Try to do that in the en.yml file

en:
activerecord:
attributes:
feature:
your_first_attribute: “Your first attribute”

More info here [1]

[1]

2010/3/4 cedric [email protected]

shed some light on this? I am looking at what will be Rails 2.3.6.
.
For more options, visit this group at
http://groups.google.com/group/rails-i18n?hl=en.


Experiencia es lo que obtienes, cuando no obtienes lo que quieres.