attempt to merge wildchild/type_cast, still failing specs
This commit is contained in:
commit
15ea10eb9c
12 changed files with 652 additions and 150 deletions
|
@ -12,7 +12,7 @@ class WithCastedModelMixin < Hash
|
|||
include CouchRest::CastedModel
|
||||
property :name
|
||||
property :no_value
|
||||
property :details, :default => {}
|
||||
property :details, :type => 'Object', :default => {}
|
||||
property :casted_attribute, :cast_as => 'WithCastedModelMixin'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue