title: Rails and Ajax substitute content of div error
body: <p>Have a problem, im try substitute my div #adm_content whit one partial, how i make whit my comments but the ajax dont response, im using the remote true to substitute,see the link:</p>
  
  <pre><code>   &lt;li&gt;&lt;%= link_to "Editar perfil", edit_user_path(current_user), :remote =&gt; true %&gt;
  </code></pre>
  
  <p></li></p>
  
  <p>im creathe the  edit.js.erb, are this: </p>
  
  <pre><code>$("#adm_content").html("&lt;%= j render :partial =&gt;'users/edit' %&gt;");
  </code></pre>
  
  <p>and im my user_controller i put the respond in js see :</p>
  
  <pre><code>respond_to :js
  
    def edit
      @user = current_user
      respond_with @user
    end
  
    def update
      @user = current_user
      if @user.update_attributes(params[:user])
        respond_with @user
      else
        redirect_to "edit",:notice=&gt;"Falha ao atualizar informações !"
      end
    end
  </code></pre>
  
  <p>please, when i click in the link the div dont change, what is wrong please</p>