spec/models/animal.rb in datamapper-0.2.3 vs spec/models/animal.rb in datamapper-0.2.4

- old
+ new

@@ -1,7 +1,8 @@ class Animal < DataMapper::Base - property :name, :string + property :name, :string, :default => "No Name" property :notes, :text + property :nice, :boolean has_one :favourite_fruit, :class => 'Fruit', :foreign_key => 'devourer_id' has_and_belongs_to_many :exhibits end \ No newline at end of file