spec/fixtures/project.rb in snusnu-dm-accepts_nested_attributes-0.0.2 vs spec/fixtures/project.rb in snusnu-dm-accepts_nested_attributes-0.0.3
- old
+ new
@@ -1,8 +1,8 @@
class Project
include DataMapper::Resource
property :id, Serial
- property :name, String
+ property :name, String, :nullable => false
has n, :tasks
has n, :project_memberships
has n, :people, :through => :project_memberships
end
\ No newline at end of file