Veraticus / Dynamoid

Ruby ORM for Amazon's DynamoDB
http://joshsymonds.com/Dynamoid/
247 stars 83 forks source link

Exception when creating new User #179

Open KamilLelonek opened 10 years ago

KamilLelonek commented 10 years ago

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
dinesh commented 10 years ago

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