emberjs/data — pull request #1204 by bradleypriest (2013-09-04 02:37:19+00:00)
Title: Refactor serializeAttribute out of serialize

Add a parallel `serializeAttribute` to match `serializeBelongsTo` and `serializeHasMany`.

Am working on a `DS.ActiveModelSerializer` and if this function existed I wouldn't have to override the whole `serialize` method.

Another option would be to reuse the `keyForAttribute`.

Thoughts?