<?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: Ramaze and ActiveRecord</title>
	<atom:link href="http://ramblings.gibberishcode.net/archives/ramaze-and-activerecord/26/feed" rel="self" type="application/rss+xml" />
	<link>http://ramblings.gibberishcode.net/archives/ramaze-and-activerecord/26</link>
	<description>about fetching, interpreting, and executing.</description>
	<lastBuildDate>Mon, 14 Jun 2010 22:21:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael</title>
		<link>http://ramblings.gibberishcode.net/archives/ramaze-and-activerecord/26/comment-page-1#comment-6280</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 05 Feb 2009 02:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://ramblings.gibberishcode.net/?p=26#comment-6280</guid>
		<description>@trey: Short answer: no for the post; yes for this reply. I tried using erubis by adding a config/initializers/erubis.rb and adding:


&lt;pre  name=&quot;code&quot; class=&quot;ruby:nocontrols&quot;&gt;
require &#039;erubis/helpers/rails_helper&#039;
Erubis::Helpers::RailsHelper.init_properties = { :escape =&gt; true, :escapefunc =&gt; &#039;h&#039; }
&lt;/pre&gt;

With that, I get:

&lt;pre  style=&quot;overflow: hidden&quot;&gt;
Concurrency Level:      50
Time taken for tests:   5.965 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      13032035 bytes
HTML transferred:       12407000 bytes
Requests per second:    167.64 [#/sec] (mean)
Time per request:       298.266 [ms] (mean)
Time per request:       5.965 [ms] (mean, across all concurrent requests)
Transfer rate:          2133.43 [Kbytes/sec] received
&lt;/pre&gt;

Which is significantly slower than standard erb. I haven’t yet found good info for further tweaking erubis, but if you know the way, please do advise and I will re-run benches.</description>
		<content:encoded><![CDATA[<p>@trey: Short answer: no for the post; yes for this reply. I tried using erubis by adding a config/initializers/erubis.rb and adding:</p>
<pre name="code" class="ruby:nocontrols">
require 'erubis/helpers/rails_helper'
Erubis::Helpers::RailsHelper.init_properties = { :escape => true, :escapefunc => 'h' }
</pre>
<p>With that, I get:</p>
<pre style="overflow: hidden">
Concurrency Level:      50
Time taken for tests:   5.965 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      13032035 bytes
HTML transferred:       12407000 bytes
Requests per second:    167.64 [#/sec] (mean)
Time per request:       298.266 [ms] (mean)
Time per request:       5.965 [ms] (mean, across all concurrent requests)
Transfer rate:          2133.43 [Kbytes/sec] received
</pre>
<p>Which is significantly slower than standard erb. I haven’t yet found good info for further tweaking erubis, but if you know the way, please do advise and I will re-run benches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trey</title>
		<link>http://ramblings.gibberishcode.net/archives/ramaze-and-activerecord/26/comment-page-1#comment-6275</link>
		<dc:creator>Trey</dc:creator>
		<pubDate>Wed, 04 Feb 2009 15:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://ramblings.gibberishcode.net/?p=26#comment-6275</guid>
		<description>Did you use Erubis in rails?</description>
		<content:encoded><![CDATA[<p>Did you use Erubis in rails?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kez</title>
		<link>http://ramblings.gibberishcode.net/archives/ramaze-and-activerecord/26/comment-page-1#comment-6272</link>
		<dc:creator>kez</dc:creator>
		<pubDate>Wed, 04 Feb 2009 14:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://ramblings.gibberishcode.net/?p=26#comment-6272</guid>
		<description>Nice work!  I think people have been waiting for something like this for a while; I&#039;m sure there will be a series of never ending rebuttals to this, but great to see your findings.</description>
		<content:encoded><![CDATA[<p>Nice work!  I think people have been waiting for something like this for a while; I&#8217;m sure there will be a series of never ending rebuttals to this, but great to see your findings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slabounty</title>
		<link>http://ramblings.gibberishcode.net/archives/ramaze-and-activerecord/26/comment-page-1#comment-6271</link>
		<dc:creator>slabounty</dc:creator>
		<pubDate>Wed, 04 Feb 2009 13:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://ramblings.gibberishcode.net/?p=26#comment-6271</guid>
		<description>Very cool. It&#039;s nice to see an example with ActiveRecord and with the Rails comparison.</description>
		<content:encoded><![CDATA[<p>Very cool. It&#8217;s nice to see an example with ActiveRecord and with the Rails comparison.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coderrr</title>
		<link>http://ramblings.gibberishcode.net/archives/ramaze-and-activerecord/26/comment-page-1#comment-6266</link>
		<dc:creator>coderrr</dc:creator>
		<pubDate>Wed, 04 Feb 2009 08:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://ramblings.gibberishcode.net/?p=26#comment-6266</guid>
		<description>Awesome, thanks for using/linking to my patch.  Lemme know if you run into any issues with it.</description>
		<content:encoded><![CDATA[<p>Awesome, thanks for using/linking to my patch.  Lemme know if you run into any issues with it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
