Why page.replace_html can send only one collections?

I just want to understand why we can send only one paramater in
collections , and how to solve the problem if we want to send more than
one collection ?

render :update do |page|
page.replace_html :todoItems, :partial =>
‘todos’,:collections=>@next_responsiblenesses

end

bill walton wrote:

On Tue, 2009-07-21 at 04:18 +0200, Thriving K. wrote:

I just want to understand why we can send only one paramater in
collections , and how to solve the problem if we want to send more than
one collection ?

render :update do |page|
page.replace_html :todoItems, :partial =>
‘todos’,:collections=>@next_responsiblenesses

end

Check out :locals

HTH,
Bill

Thank you

On Tue, 2009-07-21 at 04:18 +0200, Thriving K. wrote:

I just want to understand why we can send only one paramater in
collections , and how to solve the problem if we want to send more than
one collection ?

render :update do |page|
page.replace_html :todoItems, :partial =>
‘todos’,:collections=>@next_responsiblenesses

end

Check out :locals

HTH,
Bill