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