nathanvda/cocoon — pull request #63 by simmsy (2012-05-01 08:31:18+00:00)
Title: Retain relationship to parent object when creating child object using parent.build

When creating the child object for fields_for ensure the parent association is retained by using object.assoc.build as opposed to assoc.klass.new

(Test added next to other test explicitly testing #create_object as I couldn't find a describe block specifically for this method)