search for: eligible_play

Displaying 1 result from an estimated 1 matches for "eligible_play".

2006 Mar 23
1
Rails AJAX question, calling remote_function in a loop
I think I may be missing something here. I have a collection of people I want to run through. For each person I want to use AJAX to make a calculation and update the page with the results. First I tried to do this with just links, which works fine. It looks like this <% @eligible_players.each do |player| %> <tr> <td> <%= link_to_remote( player.player_name, :update => "playerList" + player.id.to_s, :url =>{ :action => :calc_wins_losses_for_player, :id => player.id },...