spec/fixtures/person.rb in snusnu-dm-accepts_nested_attributes-0.0.6 vs spec/fixtures/person.rb in snusnu-dm-accepts_nested_attributes-0.10.0

- old
+ new

@@ -1,8 +1,16 @@ class Person + include DataMapper::Resource + + # properties + property :id, Serial property :name, String, :nullable => false + + # associations + has 1, :profile has n, :project_memberships has n, :projects, :through => :project_memberships + end \ No newline at end of file