Dynamoid icon indicating copy to clipboard operation
Dynamoid copied to clipboard

Exception when creating new User

Open KamilLelonek opened this issue 10 years ago • 1 comments

I get:

AWS::DynamoDB::Errors::ValidationException: Validation error detected: KeySchema must be a Array

when I do:

User.new(name: 'name').save

while my User is:

class User
  include Dynamoid::Document
  field :name
end

KamilLelonek avatar Oct 25 '14 08:10 KamilLelonek

Please try to use fake_dynamo 0.1.3 as it I was facing the same problem.

dinesh avatar Nov 21 '14 10:11 dinesh