Transparent attribute translation for ActiveRecords