Displaying 2 results from an estimated 2 matches for "pfrog".
Did you mean:
frog
2006 Mar 21
4
habtm > join()
I''m trying to pull ou the ''name'' field for each of my associated rows
and pass it as a string of names. I''m missing something obvious here
but I thought @bag.packages.name.join(", ") would work.
do I have to loop through @bag.packages? that seems like the long way.
thanks
-zac
--
Posted via http://www.ruby-forum.com/.
2006 Feb 14
3
Can Ajax updates more than one <div>?
Hi,
I wish to know, is it possible that Ajax can update
more than one zone "<div>"???? like :
<%= link_to_remote("Title", :update => ''mydiv0'', :url
=> {:action=>:say_hello} )%>
<div id="mydiv0"> to be changed one</div>
<div id="mydiv0"> to be changed two</div>
When I execute the code, only