何てこったい。


先日書いた、Edit機能のエラー解決。
おそろしきスペルミスでしたね。

  def edit_remotely
    @task = Task.find(params[:id])
    @form_action = 'update_remotely'
    @form_button = 'Update the task'
    @task.content = @task.content.gsub("<br/>", "\n")
    respond_to do |format|
      format.html
      format.js do
        render :update do |page|
          page.visual_effect :highlight, "#{@task.id}",  :duration => 0.4
          page[:task_form].remove
          page.insert_html :top, 'task_form_block', :partial => 'form'
          page.visual_effect :highlight, "#{@task.id}",  :duration => 0.6
        end
      end      
    end
  end

partialですよと。
particalじゃないんですよと。
こういうミスが多いんです。
おそろしや。

ですがIEでのエラーは変わりません。
寧ろ増えているような。
Firefoxでは一先ず動いたんですがね…うーん。