<?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: Simplifying Rails Block Helpers (With a Side of Rubinius)</title>
	<atom:link href="http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/feed/" rel="self" type="application/rss+xml" />
	<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/</link>
	<description>Random Geek-Related Thoughts</description>
	<lastBuildDate>Sat, 20 Apr 2013 07:23:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Slade</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-23429</link>
		<dc:creator>Michael Slade</dc:creator>
		<pubDate>Sat, 17 Sep 2011 08:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-23429</guid>
		<description><![CDATA[Why couldn&#039;t erb have, say, this method:

def _erb_write_(stuff); _buf &lt;&lt; stuff.to_s end

and then replace &quot;&quot; with &quot;_erb_write_ foo&quot;?

Then you only need to know about one end of the block.  the &quot;end&quot; part doesn&#039;t need to be checked.

Could it break some other obscure  expressions?  Is it perhaps worth it?

Yes I know _buf is local and might need to become an instance var or similar.

Also the function to perform that operation could also be exposde to template code to be used inside  as a consistent method for adding to the output inside a larger block of code.

Sorry about the late reply :)]]></description>
		<content:encoded><![CDATA[<p>Why couldn&#8217;t erb have, say, this method:</p>
<p>def _erb_write_(stuff); _buf &lt;&lt; stuff.to_s end</p>
<p>and then replace &quot;&#8221; with &#8220;_erb_write_ foo&#8221;?</p>
<p>Then you only need to know about one end of the block.  the &#8220;end&#8221; part doesn&#8217;t need to be checked.</p>
<p>Could it break some other obscure  expressions?  Is it perhaps worth it?</p>
<p>Yes I know _buf is local and might need to become an instance var or similar.</p>
<p>Also the function to perform that operation could also be exposde to template code to be used inside  as a consistent method for adding to the output inside a larger block of code.</p>
<p>Sorry about the late reply :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eloy Duran</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17117</link>
		<dc:creator>Eloy Duran</dc:creator>
		<pubDate>Tue, 08 Sep 2009 08:39:42 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17117</guid>
		<description><![CDATA[One word; awesome!]]></description>
		<content:encoded><![CDATA[<p>One word; awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Evans</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17095</link>
		<dc:creator>Mark Evans</dc:creator>
		<pubDate>Wed, 02 Sep 2009 17:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17095</guid>
		<description><![CDATA[Thanks for blog post - Rubinius looks really useful for things like this

&quot;helper writers should be able to think of block helpers the same way they think about traditional helpers&quot;

completely agree - so I&#039;ve written a block helpers gem you might find interesting at http://github.com/markevans/block_helpers
( blog post at http://blog.new-bamboo.co.uk/2009/8/14/block-helpers )


I&#039;d love to see that kind of thing in Rails]]></description>
		<content:encoded><![CDATA[<p>Thanks for blog post &#8211; Rubinius looks really useful for things like this</p>
<p>&#8220;helper writers should be able to think of block helpers the same way they think about traditional helpers&#8221;</p>
<p>completely agree &#8211; so I&#8217;ve written a block helpers gem you might find interesting at <a href="http://github.com/markevans/block_helpers" rel="nofollow">http://github.com/markevans/block_helpers</a><br />
( blog post at <a href="http://blog.new-bamboo.co.uk/2009/8/14/block-helpers" rel="nofollow">http://blog.new-bamboo.co.uk/2009/8/14/block-helpers</a> )</p>
<p>I&#8217;d love to see that kind of thing in Rails</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe Hollombe</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17093</link>
		<dc:creator>Gabe Hollombe</dc:creator>
		<pubDate>Wed, 02 Sep 2009 00:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17093</guid>
		<description><![CDATA[Katz, I just want to send a big &quot;Thanks!&quot; for all of the posts you&#039;ve been writing lately on Rails internals.  I&#039;m learning tons from your examples; you must be going for Rails blogger of the year award or something, and you&#039;re doing a damn fine job.  Thanks again and please keep up the great writing!]]></description>
		<content:encoded><![CDATA[<p>Katz, I just want to send a big &#8220;Thanks!&#8221; for all of the posts you&#8217;ve been writing lately on Rails internals.  I&#8217;m learning tons from your examples; you must be going for Rails blogger of the year award or something, and you&#8217;re doing a damn fine job.  Thanks again and please keep up the great writing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Wagenet</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17091</link>
		<dc:creator>Peter Wagenet</dc:creator>
		<pubDate>Tue, 01 Sep 2009 13:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17091</guid>
		<description><![CDATA[This is pretty sweet! As others have said, I&#039;m always for cleaning up the dirty insides even when the outside looks great. I&#039;m really looking forward to Rails 3.]]></description>
		<content:encoded><![CDATA[<p>This is pretty sweet! As others have said, I&#8217;m always for cleaning up the dirty insides even when the outside looks great. I&#8217;m really looking forward to Rails 3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Winkler</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17090</link>
		<dc:creator>Elliot Winkler</dc:creator>
		<pubDate>Tue, 01 Sep 2009 02:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17090</guid>
		<description><![CDATA[Oh, and I was wondering whether y&#039;all would be using Erubis, considering it beats the pants off of ERB and all ;)]]></description>
		<content:encoded><![CDATA[<p>Oh, and I was wondering whether y&#8217;all would be using Erubis, considering it beats the pants off of ERB and all ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Winkler</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17089</link>
		<dc:creator>Elliot Winkler</dc:creator>
		<pubDate>Tue, 01 Sep 2009 02:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17089</guid>
		<description><![CDATA[Woah! That is simply astounding. And simple.

Also, seeing that backtrace in Rubinius made me feel all warm and fuzzy. If only we had that in MRI!!]]></description>
		<content:encoded><![CDATA[<p>Woah! That is simply astounding. And simple.</p>
<p>Also, seeing that backtrace in Rubinius made me feel all warm and fuzzy. If only we had that in MRI!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Nicholls</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17086</link>
		<dc:creator>Pete Nicholls</dc:creator>
		<pubDate>Mon, 31 Aug 2009 22:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17086</guid>
		<description><![CDATA[Love it, you guys rock! You took something that always bugged me, fixed it and made it awesome. &lt;3]]></description>
		<content:encoded><![CDATA[<p>Love it, you guys rock! You took something that always bugged me, fixed it and made it awesome. &lt;3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17085</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 31 Aug 2009 21:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17085</guid>
		<description><![CDATA[Freaking brilliant! I&#039;ve always wanted this syntax - thanks for figuring out how to pull it off and documenting the journey.]]></description>
		<content:encoded><![CDATA[<p>Freaking brilliant! I&#8217;ve always wanted this syntax &#8211; thanks for figuring out how to pull it off and documenting the journey.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiago Pinto</title>
		<link>http://yehudakatz.com/2009/08/31/simplifying-rails-block-helpers-with-a-side-of-rubinius/comment-page-1/#comment-17084</link>
		<dc:creator>Tiago Pinto</dc:creator>
		<pubDate>Mon, 31 Aug 2009 16:48:48 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=332#comment-17084</guid>
		<description><![CDATA[I&#039;m loving all these posts about Ruby and how you&#039;re making it better. Thanks for your work on Rails and thanks for your insights into Ruby code like this one.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m loving all these posts about Ruby and how you&#8217;re making it better. Thanks for your work on Rails and thanks for your insights into Ruby code like this one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
