Veraticus / Dynamoid

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

Remove to_f in criteria chain #196

Open ayemos opened 9 years ago

ayemos commented 9 years ago

According to the AWS-SDK document, in api version 2012-08-10, range key can be either a type of String, Integer or Binary when it comes with comparison conditions. (e.g. gt, lt, gte, ...) I guess it's user's responsibility to make range keys match with schema definition and should omit this conversion so that we can make use of comparison conditions not only with Integer but also String and/or other data types.

Please review it. :bow: