Correct, a simple way to depict the underlying problem is:

   [EMAIL PROTECTED]:~/tmp/test_associations$ cat test_build.rb
   post = Post.create
   post.comments.build
   puts post.comments.size
   puts post.comments.size
   [EMAIL PROTECTED]:~/tmp/test_associations$ script/runner test_build.rb
   1
   0

I'll write a patch tonight if nobody did.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to