spec/fixtures/task.rb in snusnu-dm-accepts_nested_attributes-0.0.2 vs spec/fixtures/task.rb in snusnu-dm-accepts_nested_attributes-0.0.3
- old
+ new
@@ -1,7 +1,7 @@
class Task
include DataMapper::Resource
property :id, Serial
- property :name, String
property :project_id, Integer, :nullable => false
+ property :name, String, :nullable => false
belongs_to :project
end
\ No newline at end of file