Patrick,
The example I linked to does use nested attributes. See
https://github.com/ryanb/complex-form-examples/blob/master/app/models/survey.rb
for the model class which uses it.
Sam
On Mon, Jul 18, 2011 at 8:03 PM, Patrick J. Collins
wrote:
>> I am new to test-driven development and rspec, so
Replies inline, below.
On Mon, Jul 18, 2011 at 8:20 PM, Derek Prior wrote:
>> One of the patterns I am trying to
>> implement is from Ryan Bates' complex-form-examples[2]. Ryan's example
>> doesn't have any tests, so I am trying to write tests for the code.
>
> He's updated that with a later epis
> I am new to test-driven development and rspec, so I am writing an
> application[1] to practice.
Me too, so the advice I offer below should be taken in that light. Less
advice and more, "What I think I kind of figured out."
> One of the patterns I am trying to
> implement is from Ryan Bates' c
> I am new to test-driven development and rspec, so I am writing an
> application[1] to practice. One of the patterns I am trying to
> implement is from Ryan Bates' complex-form-examples[2]. Ryan's example
> doesn't have any tests, so I am trying to write tests for the code.
Don't forget that the r