On 19 Aug 2008, at 16:39, Xavier Noria wrote:
> > 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. > Can you fix the other problem while you're in there? currently if you do post = Post.create post.comments.build post.comments.build puts post.comments.size the output is 1 Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
