On 2006-07-23, at 01:01 , Daniel N wrote:

If I create a new record with associated records, to me that means that I need a new two new class definitions and some fixtures. Is this correct?

If you can work with the existing fixtures and models, better. Otherwise create your own.

raise ArgumentError, "The :dependent option expects either :destroy or : nullify."

You'll want to change this error message too.

So then do I just write a couple of classes, matching fixtures and a test file for this?


Yep. And do post a patch, not just altered code.

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to