Issue #3 - withI18n for relations
Reported by , 01 Apr, 2013
I've got two models: Projects and Employees, they are related with each other via MANY_MANY declared in 'relations' method. Projects model is already i18n-ed using I18nActiveRecord. I'm trying to get $employee->projects (lazy-loaded) to have the corresponding i18n-table joined, and currently see no means other than setLocale for each project of each employee. That looks like an overhead. Any way to populate each item of 'projects' with the translated attributes?
Add a comment