spec/fixtures/models/person.rb in couchrest_model-2.1.0.rc1 vs spec/fixtures/models/person.rb in couchrest_model-2.2.0.beta1
- old
+ new
@@ -1,8 +1,9 @@
require 'cat'
class Person
include ::CouchRest::Model::Embeddable
+
property :pet, Cat
property :name, [String]
def last_name
name.last