getting the response body

Hey,

Why not try:

def destroy
  id = params[:id]
  render :update do |page|
    page.alert( "THIS TEXT" ) if Job.find(:all, :conditions=>
["type_id=?",id]).size > 0
  end
end

Gavin

http://handyrailstips.com

forgot to add the .destroy() call there :S