<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -78,9 +78,10 @@ module InPlaceMacrosHelper
       base_id = tag.object.id
       tag_options[:id] = &quot;#{object}_#{method}_#{base_id}_in_place_editor&quot;
       field_html = tag.to_content_tag(tag_options.delete(:tag), tag_options)
-    end
+    end   
     in_place_editor_options[:url] = in_place_editor_options[:url] || 
-      url_for({ :action =&gt; &quot;set_#{object}_#{method}&quot;, :id =&gt; base_id})
+                                    url_for({ :action =&gt; &quot;set_#{object.kind_of?(ActiveRecord::Base) ? 
+                                      object.class.name.underscore : object}_#{method}&quot;, :id =&gt; base_id})
     field_html + in_place_editor(tag_options[:id], in_place_editor_options)
   end
 end</diff>
      <filename>lib/jrails_in_place_macros_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>be28467795c0e45f60be1ba2dfe0cfe5665a2691</id>
    </parent>
  </parents>
  <author>
    <name>Rakuto Furutani</name>
    <email>rakuto@gmail.com</email>
  </author>
  <url>http://github.com/rakuto/jrails_in_place_editing/commit/9574ba62bb37d381ff448e040f69e632795d1cd9</url>
  <id>9574ba62bb37d381ff448e040f69e632795d1cd9</id>
  <committed-date>2008-06-11T18:17:56-07:00</committed-date>
  <authored-date>2008-06-11T18:17:56-07:00</authored-date>
  <message>The helper with instance of ActiveRecord</message>
  <tree>9ca9aa1ccfd39a66a7d6272222e8549a8c407220</tree>
  <committer>
    <name>Rakuto Furutani</name>
    <email>rakuto@gmail.com</email>
  </committer>
</commit>
