On Thu, 2011-09-22 at 07:12 -0700, Daro wrote:
> If I have to change ALL my relationships with .all, I'm in a big
> trouble... am I missing something?
> Thank you very much.

I can confirm what you have described: https://gist.github.com/1248588

In 3.0 there were inconsistencies between calling 'new' and 'build' on
an association. I consider this a bug. In 3.1 the inconsistencies are
tidied up, resulting in the behaviour you describe.

If you want to issue a COUNT query to the db, use #count rather than
#size.

Cheers

-- 
http://jonathanleighton.com/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to