Displaying 1 result from an estimated 1 matches for "id_for_div".
2007 Jan 23
7
Ajax
...- termina estudios -------------------------------------->
The year is commented because I have problems with it too, I created
another topic about it.
personas_controller.rb:
def eliminar_estudio
persona = Persona.find(params[:id])
estudio_temp = Estudio.find(params[:estudio_id])
@id_for_div = "estudio "+estudio_temp.id.to_s
persona.estudios.delete(estudio_temp)
render :action=> ''../application/eliminar_item''
end
def agregar_estudio
@nuevo_estudio = session[:ne]
ne = Estudio.new
@nuevo_estudio << ne
session[:ne] = @nuevo_e...