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 -- Posted via http://www.ruby-forum.com/.
bill walton
2009-Jul-21 02:31 UTC
Re: Why page.replace_html can send only one collections ?
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 > > endCheck out :locals HTH, Bill
Thriving K.
2009-Jul-21 02:45 UTC
Re: Why page.replace_html can send only one collections ?
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, > BillThank you -- Posted via http://www.ruby-forum.com/.