I created a patch to allow for virtual attributes -- attributes that are defined by get_$attr methods. These attributes get encoded into JSON, etc. Very useful.
The patch is here: http://pastebin.com/vGxRxKTh
I don't promise it doesn't have bugs :) But it works for me.
Subject: Patch for virtual attributes
I created a patch to allow for virtual attributes -- attributes that are defined by get_$attr methods. These attributes get encoded into JSON, etc. Very useful.
The patch is here: http://pastebin.com/vGxRxKTh
I don't promise it doesn't have bugs :) But it works for me.
Sean