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