mboudreau/Alternator — pull request #29 by andrebeat (2012-06-26 14:56:31+00:00)
Title: Check if the requested attribute exists.

This is just a simple fix to check if the requested attribute exists before adding it to the response. This fixes issue #28 which I created last week.

I still haven't confirmed that this is correct behavior of Amazon's DynamoDB (the only confirmation I have is that my tests pass with the original client and they didn't with alternator. After this fix they're back to green with Alternator). I don't have the time to confirm this right now, but if you prefer I can check it when I have time, before you merge this.