spec/models/person.rb in structure-0.2.0 vs spec/models/person.rb in structure-0.3.0
- old
+ new
@@ -1,5 +1,5 @@
class Person < Structure
key :name
key :age, :type => Integer
- key :friends
+ key :friends, :type => Array, :default => []
end