gotime-cassandra_object 4.7.0 → 4.7.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -98,10 +98,8 @@ module CassandraObject
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def typecast_attributes(object, attributes)
|
101
|
-
|
102
|
-
Hash[attribute_definitions.map { |k, attribute_definition|
|
103
|
-
[k.to_s, attribute_definition.instantiate(object, attributes[k.to_sym])]
|
104
|
-
}]
|
101
|
+
attributes = attributes.symbolize_keys
|
102
|
+
Hash[attribute_definitions.map { |k, attribute_definition| [k.to_s, attribute_definition.instantiate(object, attributes[k])] }]
|
105
103
|
end
|
106
104
|
|
107
105
|
def write_option_string(ignore_batching = false)
|