> One last thing: I'm wondering if we should add a case for
> AssociationCollections, so that you can have
>
> class CatOwner
>    has_many :cats
> end
>
> render(:partial => @cat_owner.cats)

That already works. When we get an array, we just call render :partial
for each of the members and join it. Don't want AP to know anything
explicitly about AR. We could be collecting ARes or other model
objects and it should work just the same.


--~--~---------~--~----~------------~-------~--~----~
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