ruby on rails - How to translate attributes of table-less model? -


railscast #326 activeattr explains how create table-less models.

how can 1 translate attributes explained table-based attributes in rails docs?

instead of going via activerecord (e.g. de.activerecord.attributes.message.subject: betreff), activemodel has referenced (e.g. de.activemodel.attributes.message.subject: betreff).

-- outlined stephenmurdoch in comment


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -