<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: REST in Place</title>
	<atom:link href="http://jan.varwig.org/projects/rest-in-place/feed" rel="self" type="application/rss+xml" />
	<link>http://jan.varwig.org</link>
	<description>Somewhere between Hello World and HAL9000</description>
	<lastBuildDate>Mon, 15 Mar 2010 23:41:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniel Kehoe</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-1764</link>
		<dc:creator>Daniel Kehoe</dc:creator>
		<pubDate>Mon, 15 Mar 2010 23:41:01 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-1764</guid>
		<description>&lt;p&gt;Very nice plugin and easy to get it working. But I wonder, what is the way to display error messages on validation failures? Any suggestions? I see this was asked earlier without a reply.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very nice plugin and easy to get it working. But I wonder, what is the way to display error messages on validation failures? Any suggestions? I see this was asked earlier without a reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-1745</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Mon, 08 Mar 2010 16:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-1745</guid>
		<description>&lt;p&gt;Loving the plugin. I had 2 questions hopefully someone can help me with.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;After &#039;saving...&#039; replaces the text box, it doesn&#039;t disappear after it&#039;s done. I&#039;m sure I&#039;ve messed something up. The data DOES save, just doesn&#039;t refresh the &quot;saving&quot; text. Can someone point me in the general direction on how to troubleshoot this please?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I&#039;d like to send 2 hidden fields simultaneously with a data field when I save a specific attribute. (I probably have to make virtual attributes). Any ideas on how I would do this?&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Loving the plugin. I had 2 questions hopefully someone can help me with.</p>
<ol>
<li>
<p>After &#8217;saving&#8230;&#8217; replaces the text box, it doesn&#8217;t disappear after it&#8217;s done. I&#8217;m sure I&#8217;ve messed something up. The data DOES save, just doesn&#8217;t refresh the &#8220;saving&#8221; text. Can someone point me in the general direction on how to troubleshoot this please?</p>
</li>
<li>
<p>I&#8217;d like to send 2 hidden fields simultaneously with a data field when I save a specific attribute. (I probably have to make virtual attributes). Any ideas on how I would do this?</p>
</li>
</ol>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-1584</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Thu, 21 Jan 2010 23:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-1584</guid>
		<description>&lt;p&gt;Thx Ben, this has been fixed in the latest revision&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thx Ben, this has been fixed in the latest revision</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben R</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-1422</link>
		<dc:creator>Ben R</dc:creator>
		<pubDate>Fri, 04 Dec 2009 14:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-1422</guid>
		<description>&lt;p&gt;Very nice plugin - but had the devil&#039;s own business getting it to play nicely. The problem was after the POST, the JSON GET triggered a 406 response. Adding 
      format.json { render :json=&gt;@user } 
to the show method solved the problem&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very nice plugin &#8211; but had the devil&#8217;s own business getting it to play nicely. The problem was after the POST, the JSON GET triggered a 406 response. Adding<br />
      format.json { render :json=&gt;@user }<br />
to the show method solved the problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-1262</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 16 Nov 2009 19:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-1262</guid>
		<description>&lt;p&gt;A better regex for stripping leading / trailing that weird white space is: e.html().replace(/(^s&lt;em&gt;)&#124;(s&lt;/em&gt;$)/gi,&quot;&quot;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A better regex for stripping leading / trailing that weird white space is: e.html().replace(/(^s<em>)|(s</em>$)/gi,&#8221;")</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayank Sharma</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-951</link>
		<dc:creator>Mayank Sharma</dc:creator>
		<pubDate>Thu, 25 Jun 2009 13:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-951</guid>
		<description>&lt;p&gt;Very interesting and simple plugin Jan. There is however a small bug which took me quite sometime to figure out. The rails_authenticity_token variable which is being passed as authenticity_token needs to be URI encoded. My authenticity token had a &#039;+&#039; character which was getting dropped on passing over HTTP.&lt;/p&gt;

&lt;p&gt;Just need to substitute&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&quot;&amp;authenticity_token=&quot;+window.rails_authenticity_token
  with 
  &quot;&amp;authenticity_token=&quot;+encodeURIComponent( window.rails_authenticity_token)&lt;/p&gt;
&lt;/blockquote&gt;
</description>
		<content:encoded><![CDATA[<p>Very interesting and simple plugin Jan. There is however a small bug which took me quite sometime to figure out. The rails_authenticity_token variable which is being passed as authenticity_token needs to be URI encoded. My authenticity token had a &#8216;+&#8217; character which was getting dropped on passing over HTTP.</p>
<p>Just need to substitute</p>
<blockquote>
<p>&#8220;&amp;authenticity_token=&#8221;+window.rails_authenticity_token<br />
  with<br />
  &#8220;&amp;authenticity_token=&#8221;+encodeURIComponent( window.rails_authenticity_token)</p>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Ruby</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-944</link>
		<dc:creator>Sam Ruby</dc:creator>
		<pubDate>Sun, 14 Jun 2009 10:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-944</guid>
		<description>&lt;p&gt;&lt;strong&gt;Rest In Place...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Edit in place is a handy feature where clicking on an area of a web page replaces that portion of the page with a form which will enable the user to update that information.&#160; At one time, this was a part of Rails, but in 2007 it move...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>Rest In Place&#8230;</strong></p>
<p>Edit in place is a handy feature where clicking on an area of a web page replaces that portion of the page with a form which will enable the user to update that information.&#160; At one time, this was a part of Rails, but in 2007 it move&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Siggelkow</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-943</link>
		<dc:creator>Bill Siggelkow</dc:creator>
		<pubDate>Fri, 12 Jun 2009 14:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-943</guid>
		<description>&lt;p&gt;Ugh ... formatting problems there ...&lt;/p&gt;

&lt;p&gt;I basically made two changes to jquery.rest-in-place.js ...
First, I stripped leading/trailing whitespace from the oldValue ... this helped alot with my tabular data.&lt;/p&gt;

&lt;p&gt;var oldValue = e.html().replace(/^s&lt;em&gt;&#124;s&lt;/em&gt;$/g,&#039;&#039;);&lt;/p&gt;

&lt;p&gt;Then, I added a call after the form is injected to set focus to the input field ... this give me good behavior in Safari 3/4.&lt;/p&gt;

&lt;p&gt;e.find(&quot;input&quot;)[0].focus();&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ugh &#8230; formatting problems there &#8230;</p>
<p>I basically made two changes to jquery.rest-in-place.js &#8230;<br />
First, I stripped leading/trailing whitespace from the oldValue &#8230; this helped alot with my tabular data.</p>
<p>var oldValue = e.html().replace(/^s<em>|s</em>$/g,&#8221;);</p>
<p>Then, I added a call after the form is injected to set focus to the input field &#8230; this give me good behavior in Safari 3/4.</p>
<p>e.find(&#8220;input&#8221;)[0].focus();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Siggelkow</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-942</link>
		<dc:creator>Bill Siggelkow</dc:creator>
		<pubDate>Fri, 12 Jun 2009 14:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-942</guid>
		<description>&lt;p&gt;Well, I was able to patch the jquery.rest-in-place.js file which fixed the problems in Safari 3 and a related problem in Safari 4. I think part of my problem might have been that I am using RIP against data in a table.
Here&#039;s the patch ....&lt;/p&gt;

&lt;p&gt;4c4
&lt;     var oldValue = e.html().replace(/^s&lt;em&gt;&#124;s&lt;/em&gt;$/g,&#039;&#039;);&lt;/p&gt;

&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;var oldValue = e.html();
&lt;/code&gt;&lt;/pre&gt;
  
  &lt;p&gt;7d6
  &lt;     e.find(&quot;input&quot;)[0].focus();
  12c11
  &lt;     });&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;})
&lt;/code&gt;&lt;/pre&gt;
  
  &lt;p&gt;32c31
  &lt;     });&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;})
&lt;/code&gt;&lt;/pre&gt;
  
  &lt;p&gt;35c34
  &lt; };&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&gt; }&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, I was able to patch the jquery.rest-in-place.js file which fixed the problems in Safari 3 and a related problem in Safari 4. I think part of my problem might have been that I am using RIP against data in a table.<br />
Here&#8217;s the patch &#8230;.</p>
<p>4c4<br />
&lt;     var oldValue = e.html().replace(/^s<em>|s</em>$/g,&#8221;);</p>
<blockquote>
<pre><code>var oldValue = e.html();
</code></pre>
<p>7d6<br />
  &lt;     e.find(&#8220;input&#8221;)[0].focus();<br />
  12c11<br />
  &lt;     });</p>
<pre><code>})
</code></pre>
<p>32c31<br />
  &lt;     });</p>
<pre><code>})
</code></pre>
<p>35c34<br />
  &lt; };</p>
</blockquote>
<p>&gt; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Siggelkow</title>
		<link>http://jan.varwig.org/projects/rest-in-place/comment-page-1#comment-941</link>
		<dc:creator>Bill Siggelkow</dc:creator>
		<pubDate>Fri, 12 Jun 2009 12:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://jan.varwig.org/projects/rest-in-place#comment-941</guid>
		<description>&lt;p&gt;Very nice plugin. The only problem I am having is with Safari. When I click on a field in a  the generated form does not show the oldValue from the table cell in the input field. However, when I inspect the input element it does have the oldValue set in the  field. I tried getting around this with some jQuery calls to no avail.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very nice plugin. The only problem I am having is with Safari. When I click on a field in a  the generated form does not show the oldValue from the table cell in the input field. However, when I inspect the input element it does have the oldValue set in the  field. I tried getting around this with some jQuery calls to no avail.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
