def get_ping_entry
@dev=Dev.find(params[:id])
@status= Ipaddr.find(:first,:conditions=>["dev_id
=?",@dev.id]).status
render_text "status "+@status.to_s
end
its working fine but its updating only the first row i.e. its showing
result of periodically call remote for every device in the first row
only..not in the corresponding row for each device..
can you please help me with this??
thanking in advance
yes i understood wats the problem… the id’s need to be unique… can you help me with that??
i t ried some methods but no help !!
once again thanx alot for your prompt reply!
yes i understood wats the problem.. the id's need to be unique.. can
you help me with that??
i t ried some methods but no help !!
once again thanx alot for your prompt reply!