iwind/rockmongo — pull request #3 by darh (2012-11-09 07:31:27+00:00)
Title: Fixes issues with arrays for ids

Arrays causes PHP notice: "Notice: Array to string conversion in app/funcs/rock.php on line 125".
This fix detects (in rock_id_string) if ID is not scalar, encodes it (json & base 64) and prefixes it with "rid_encoded:". To handle this, there a little change in rock_real_id() that handles new "encoded" type.

Appologies if I've manage to brake anything with this -- I don't have that much experience with rockmongo internals.