spec/fixtures/cow.rb in dm-serializer-0.10.1 vs spec/fixtures/cow.rb in dm-serializer-0.10.2
- old
+ new
@@ -4,8 +4,8 @@
property :id, Integer, :key => true
property :composite, Integer, :key => true
property :name, String
property :breed, String
- belongs_to :mother_cow, :model => self, :nullable => true
+ belongs_to :mother_cow, :model => self, :required => false
has n, :baby_cows, :model => self, :child_key => [ :mother_cow_id, :mother_cow_composite ]
end