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

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -