couchrest_model/spec/fixtures/more/key_chain.rb
Kostiantyn Kahanskyi d50d47c32a Should be able to assign a casted hash to a hash property
Fixes https://github.com/couchrest/couchrest_model/issues/68

Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
2011-06-07 20:57:48 -03:00

6 lines
88 B
Ruby

class KeyChain < CouchRest::Model::Base
use_database(DB)
property(:keys, Hash)
end