amazon web services - Sinatra/Ruby DynamoDB get_item returning '#' sign instead of integers -
i using sinatra app retrieve item dynamodb. receiving # signs integers stored. using recent aws sdk. hk hash key.
my dynamodb looks this:
hk b 2015-06-13 4 4
my code in route looks like:
resp = dynamo_client.get_item( # required table_name: "test", # required key: { "hk" => date.today.to_s }) resp.data[:item]
what when hitting url is:
["a", #]["hk", "2015-06-13"]["b", #]
why '#' signs instead of values?
Comments
Post a Comment