Kazim Zaidi wrote:
> 
> On Tue, Oct 21, 2008 at 2:33 AM, Mark Reginald James <[EMAIL PROTECTED] 
>     Currently you also have to do the build like
>     u.books.build(:title => 'The Comedy of Errors', :author => u)
> 
> Thanks a lot! That does work.
> Currently? Is it about to be changed in 2.2?
> 
> The API doesn't document this explicitly, and the fact that I need to pass
> author as parameter too isn't very obvious, IMHO.

I can't see it in current trunk. Yes it does violate the POLS.

-- 
Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to