lib/dynamodb/table_actions.rb in dynamodb-ruby-0.5.1 vs lib/dynamodb/table_actions.rb in dynamodb-ruby-0.5.2
- old
+ new
@@ -69,9 +69,9 @@
private
# Converts a hash item result from dynamodb to object
def item_to_object(_item)
- self.new(_item)
+ self.new(_item, false) # new_record false for existing records
end
end
end