Updating histories and ensuring VERSION and date are good for 1.1.2

This commit is contained in:
Sam Lown 2011-07-23 17:38:49 +02:00
commit 80e5ed2767
5 changed files with 14 additions and 11 deletions

View file

@ -43,9 +43,8 @@ module CouchRest::Model
end
end
# Cast an individual value, not an array
# Cast an individual value
def cast_value(parent, value)
raise "An array inside an array cannot be casted, use Embeddable module" if value.is_a?(Array)
value = typecast_value(value, self)
associate_casted_value_to_parent(parent, value)
end