-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't Read IO Objects in Attribute Value Marshal
Resolves Issue #831 Running the following code exercised the problem, and now works with this change: ``` dynamodb.put_item( table_name: "foo", item: { id: 1, contents: StringIO.new("bar") } ) ``` The issue appeared to be that #read was called twice on the StringIO or IO object, and the second call would fail as String#read does not exist.
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters