<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for require 'brain'</title>
	<atom:link href="http://szeryf.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://szeryf.wordpress.com</link>
	<description>The blog with the bug.</description>
	<lastBuildDate>Thu, 19 Nov 2009 16:22:14 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Way beyond cool: autotest + growl + Doomguy by RSpec + Autotest + Growl + Doom Guy</title>
		<link>http://szeryf.wordpress.com/2007/07/30/way-beyond-cool-autotest-growl-doomguy/#comment-1061</link>
		<dc:creator>RSpec + Autotest + Growl + Doom Guy</dc:creator>
		<pubDate>Thu, 19 Nov 2009 16:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/2007/07/30/way-beyond-cool-autotest-growl-doomguy/#comment-1061</guid>
		<description>[...] github. After a tiny tweaking I was even able to get it to work with Przemysław Kowalczyk’s Doom Guy. I&#8217;ve packaged it all up and put it on Github. [...]</description>
		<content:encoded><![CDATA[<p>[...] github. After a tiny tweaking I was even able to get it to work with Przemysław Kowalczyk’s Doom Guy. I&#8217;ve packaged it all up and put it on Github. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by Saba</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1060</link>
		<dc:creator>Saba</dc:creator>
		<pubDate>Tue, 17 Nov 2009 22:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1060</guid>
		<description>Thanks for the answer szeryf. Actually I just dont want the breadcrumb-navigation to &#039;reset&#039; if you change between different actions (could also be a change of models).

It should be an advancement of the above mentioned dynamical way to recursively build the path for different categories.

I already solved this problem for me by using sessions. Just wanted to know if there is a &#039;cleaner&#039; way.</description>
		<content:encoded><![CDATA[<p>Thanks for the answer szeryf. Actually I just dont want the breadcrumb-navigation to &#8216;reset&#8217; if you change between different actions (could also be a change of models).</p>
<p>It should be an advancement of the above mentioned dynamical way to recursively build the path for different categories.</p>
<p>I already solved this problem for me by using sessions. Just wanted to know if there is a &#8216;cleaner&#8217; way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by szeryf</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1059</link>
		<dc:creator>szeryf</dc:creator>
		<pubDate>Tue, 17 Nov 2009 14:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1059</guid>
		<description>Saba: it depends on what you need to store the breadcrumb for? The breadcrumb is just an array so there are many possibilities. 

If you want to store it for caching purposes, you can use &lt;code&gt;:serialize&lt;/code&gt; in Rails to store it in model table. Or just throw the array at you local memcached.

If you want to generate a page of links to various products and those links should look like breadcrumbs, I&#039;m afraid you&#039;ll have to define a method &lt;code&gt;breadcrumb_for&lt;/code&gt; in your model. But that&#039;s OK, because in this case those link are not breadcrumbs, only look similar :)</description>
		<content:encoded><![CDATA[<p>Saba: it depends on what you need to store the breadcrumb for? The breadcrumb is just an array so there are many possibilities. </p>
<p>If you want to store it for caching purposes, you can use <code>:serialize</code> in Rails to store it in model table. Or just throw the array at you local memcached.</p>
<p>If you want to generate a page of links to various products and those links should look like breadcrumbs, I&#8217;m afraid you&#8217;ll have to define a method <code>breadcrumb_for</code> in your model. But that&#8217;s OK, because in this case those link are not breadcrumbs, only look similar :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by Saba</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1058</link>
		<dc:creator>Saba</dc:creator>
		<pubDate>Tue, 17 Nov 2009 12:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1058</guid>
		<description>First: Really good work. Thanks! But I have one wish :)
Is there a clean way to remember a whole path?

For Example:
Computer -&gt; CPUs -&gt; IntelCentrino #1

Where &#039;Computer&#039; &amp; &#039;CPUs&#039; are categories and &#039;IntelCentrino #1&#039; is a certain product out of a list.</description>
		<content:encoded><![CDATA[<p>First: Really good work. Thanks! But I have one wish :)<br />
Is there a clean way to remember a whole path?</p>
<p>For Example:<br />
Computer -&gt; CPUs -&gt; IntelCentrino #1</p>
<p>Where &#8216;Computer&#8217; &amp; &#8216;CPUs&#8217; are categories and &#8216;IntelCentrino #1&#8242; is a certain product out of a list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Way beyond cool: autotest + growl + Doomguy by Fun with Autotest &#124; Derek Neighbors</title>
		<link>http://szeryf.wordpress.com/2007/07/30/way-beyond-cool-autotest-growl-doomguy/#comment-1057</link>
		<dc:creator>Fun with Autotest &#124; Derek Neighbors</dc:creator>
		<pubDate>Mon, 16 Nov 2009 23:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/2007/07/30/way-beyond-cool-autotest-growl-doomguy/#comment-1057</guid>
		<description>[...] took and made a DoomGuy version of autotest growl that completely rocks. The more specs that fail the worse your DOOM [...]</description>
		<content:encoded><![CDATA[<p>[...] took and made a DoomGuy version of autotest growl that completely rocks. The more specs that fail the worse your DOOM [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by fnl</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1056</link>
		<dc:creator>fnl</dc:creator>
		<pubDate>Mon, 26 Oct 2009 20:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1056</guid>
		<description>This is by far the cleanest and leanest implementation I have come accross so far (ok, eval is seen by many as &quot;chaeting&quot;, but... who cares, this is a relatively safe way of using it, especially if you make the regex sufficiently strict!). Kudos &amp; thanx!</description>
		<content:encoded><![CDATA[<p>This is by far the cleanest and leanest implementation I have come accross so far (ok, eval is seen by many as &#8220;chaeting&#8221;, but&#8230; who cares, this is a relatively safe way of using it, especially if you make the regex sufficiently strict!). Kudos &amp; thanx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multilingual page caching in Ruby on Rails by Jan</title>
		<link>http://szeryf.wordpress.com/2008/02/02/multilingual-page-caching-in-ruby-on-rails/#comment-1054</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Thu, 01 Oct 2009 11:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=39#comment-1054</guid>
		<description>Works really well. It took me forever to get localization based on subdomains working. And boy was I mad when I realized that it destroys my page caching. very, very glad I found this page. Thanks a lot!

I use de.foo.bar and en.foo.bar in my project with de and en as locale names, so I didn&#039;t have to use cookies, but used:

RewriteCond %{HTTP_HOST} ^(.+?)\.
RewriteRule ^([^.]+)$ cache/%1/$1.html [QSA]


Also I noticed that my root isn&#039;t cached as locale/index.html but as locale.html so I went for:

RewriteCond %{HTTP_HOST} ^(.+?)\.
RewriteRule ^$ cache/%1.html [QSA]

With built-in rails 2.3 localization:

def cache_page content, path
  super content, I18n.locale + path
end</description>
		<content:encoded><![CDATA[<p>Works really well. It took me forever to get localization based on subdomains working. And boy was I mad when I realized that it destroys my page caching. very, very glad I found this page. Thanks a lot!</p>
<p>I use de.foo.bar and en.foo.bar in my project with de and en as locale names, so I didn&#8217;t have to use cookies, but used:</p>
<p>RewriteCond %{HTTP_HOST} ^(.+?)\.<br />
RewriteRule ^([^.]+)$ cache/%1/$1.html [QSA]</p>
<p>Also I noticed that my root isn&#8217;t cached as locale/index.html but as locale.html so I went for:</p>
<p>RewriteCond %{HTTP_HOST} ^(.+?)\.<br />
RewriteRule ^$ cache/%1.html [QSA]</p>
<p>With built-in rails 2.3 localization:</p>
<p>def cache_page content, path<br />
  super content, I18n.locale + path<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unstubbing methods in Mocha by Jacob</title>
		<link>http://szeryf.wordpress.com/2007/11/09/unstubbing-methods-in-mocha/#comment-1049</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Fri, 21 Aug 2009 15:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/2007/11/09/unstubbing-methods-in-mocha/#comment-1049</guid>
		<description>I too was struggling with a way to unstub in mocha.

I found:

Mocha::Mockery.instance.stubba.unstub_all

and

Mocha::Mockery.instance.stubba.stubba_methods

on which you can do:

      Mocha::Mockery.instance.stubba.stubba_methods.each do &#124;meth&#124;
        if meth.stubbee == SomeClassOrInstanceIWantToUnstub &amp;&amp; meth.method == &quot;somemethodtounstub&quot;
          meth.unstub
        end
      end</description>
		<content:encoded><![CDATA[<p>I too was struggling with a way to unstub in mocha.</p>
<p>I found:</p>
<p>Mocha::Mockery.instance.stubba.unstub_all</p>
<p>and</p>
<p>Mocha::Mockery.instance.stubba.stubba_methods</p>
<p>on which you can do:</p>
<p>      Mocha::Mockery.instance.stubba.stubba_methods.each do |meth|<br />
        if meth.stubbee == SomeClassOrInstanceIWantToUnstub &amp;&amp; meth.method == &#8220;somemethodtounstub&#8221;<br />
          meth.unstub<br />
        end<br />
      end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The simplest way to set-up a &#8220;we&#8217;ll be back shortly&#8221; page by Ernesto</title>
		<link>http://szeryf.wordpress.com/2009/07/10/simplest-way-to-set-up-a-well-be-back-shortly-page/#comment-1048</link>
		<dc:creator>Ernesto</dc:creator>
		<pubDate>Tue, 18 Aug 2009 16:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=206#comment-1048</guid>
		<description>FWIW, my maintenance page had some images which were not displaying as they were caught in the RewriteRule, so I changed it to: 

RewriteRule !\.(ico&#124;gif&#124;jpg&#124;png&#124;css)$ - [R=503] 

to allow those extensions to still be served.</description>
		<content:encoded><![CDATA[<p>FWIW, my maintenance page had some images which were not displaying as they were caught in the RewriteRule, so I changed it to: </p>
<p>RewriteRule !\.(ico|gif|jpg|png|css)$ &#8211; [R=503] </p>
<p>to allow those extensions to still be served.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The simplest way to set-up a &#8220;we&#8217;ll be back shortly&#8221; page by Ernesto</title>
		<link>http://szeryf.wordpress.com/2009/07/10/simplest-way-to-set-up-a-well-be-back-shortly-page/#comment-1047</link>
		<dc:creator>Ernesto</dc:creator>
		<pubDate>Tue, 18 Aug 2009 15:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=206#comment-1047</guid>
		<description>Great! Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>Great! Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by Vinay</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1046</link>
		<dc:creator>Vinay</dc:creator>
		<pubDate>Sat, 08 Aug 2009 07:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1046</guid>
		<description>this is sweet! thanks a lot!</description>
		<content:encoded><![CDATA[<p>this is sweet! thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multilingual page caching in Ruby on Rails by Valery</title>
		<link>http://szeryf.wordpress.com/2008/02/02/multilingual-page-caching-in-ruby-on-rails/#comment-1043</link>
		<dc:creator>Valery</dc:creator>
		<pubDate>Wed, 22 Jul 2009 16:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=39#comment-1043</guid>
		<description>For ngnix it would be like
server {
...
set $locale bg;
if ($http_cookie ~ &#039;locale=(en&#124;bg)&#039;) {
   set $locale $1;
}
... 
location / {
...
try_files /maintenance.html /cache/$locale/$uri.html /cache/$locale/$uri/index.html /cache/$locale/$uri  $uri $uri/index.html $uri.html @modrails; $


...
}</description>
		<content:encoded><![CDATA[<p>For ngnix it would be like<br />
server {<br />
&#8230;<br />
set $locale bg;<br />
if ($http_cookie ~ &#8216;locale=(en|bg)&#8217;) {<br />
   set $locale $1;<br />
}<br />
&#8230;<br />
location / {<br />
&#8230;<br />
try_files /maintenance.html /cache/$locale/$uri.html /cache/$locale/$uri/index.html /cache/$locale/$uri  $uri $uri/index.html $uri.html @modrails; $</p>
<p>&#8230;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by Blake</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1042</link>
		<dc:creator>Blake</dc:creator>
		<pubDate>Wed, 15 Jul 2009 14:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1042</guid>
		<description>Thanks! Really useful!</description>
		<content:encoded><![CDATA[<p>Thanks! Really useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error while installing Postgresql 8.3 on Windows XP by cc0e</title>
		<link>http://szeryf.wordpress.com/2009/02/22/error-while-installing-postgresql-83-on-windows-xp/#comment-1038</link>
		<dc:creator>cc0e</dc:creator>
		<pubDate>Thu, 09 Jul 2009 04:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=151#comment-1038</guid>
		<description>Thanks dude. You saved my day. I wish enterprisedb should give more specific errors in their isntallers. grrr...

Those who like postgreSQL should definitely check out the interactive webcasts/recorded online meetings/seminar. Here it is http://www.enterprisedb.com/learning/webcasts.do#ui-tabs-53. You have to register your email though. The quality will make up for the hassle. Keep in mind though that some of those listed webcasts are still to BE HELD in the FUTURE, so you cannot download all of them. However, it gives you the opportunity to ask questions/ participate in meeting polls.

phitoz: tried reinstalling ? or tried using a software tool?

http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&amp;displaylang=en

http://www.symantec.com/avcenter/noscript.exe (you can toggle to disable/enable WSH)</description>
		<content:encoded><![CDATA[<p>Thanks dude. You saved my day. I wish enterprisedb should give more specific errors in their isntallers. grrr&#8230;</p>
<p>Those who like postgreSQL should definitely check out the interactive webcasts/recorded online meetings/seminar. Here it is <a href="http://www.enterprisedb.com/learning/webcasts.do#ui-tabs-53" rel="nofollow">http://www.enterprisedb.com/learning/webcasts.do#ui-tabs-53</a>. You have to register your email though. The quality will make up for the hassle. Keep in mind though that some of those listed webcasts are still to BE HELD in the FUTURE, so you cannot download all of them. However, it gives you the opportunity to ask questions/ participate in meeting polls.</p>
<p>phitoz: tried reinstalling ? or tried using a software tool?</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&amp;displaylang=en" rel="nofollow">http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&amp;displaylang=en</a></p>
<p><a href="http://www.symantec.com/avcenter/noscript.exe" rel="nofollow">http://www.symantec.com/avcenter/noscript.exe</a> (you can toggle to disable/enable WSH)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to: turn off ANSI codes in Rails console by acemtp</title>
		<link>http://szeryf.wordpress.com/2009/02/02/how-to-turn-off-ansi-codes-in-rails-console/#comment-1036</link>
		<dc:creator>acemtp</dc:creator>
		<pubDate>Fri, 26 Jun 2009 12:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=143#comment-1036</guid>
		<description>useful thanks</description>
		<content:encoded><![CDATA[<p>useful thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by szeryf</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1033</link>
		<dc:creator>szeryf</dc:creator>
		<pubDate>Thu, 04 Jun 2009 06:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1033</guid>
		<description>QAS: without looking at your code I can only speculate. You probably call &lt;code&gt;add_breadcrumb &#039;Home&#039;, &#039;/&#039;&lt;/code&gt; twice. Please check your code for that.</description>
		<content:encoded><![CDATA[<p>QAS: without looking at your code I can only speculate. You probably call <code>add_breadcrumb 'Home', '/'</code> twice. Please check your code for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by QAS</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1032</link>
		<dc:creator>QAS</dc:creator>
		<pubDate>Thu, 04 Jun 2009 03:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1032</guid>
		<description>for some reason i get two home crumbs and then the current crumb. 

ex: Home &gt; Home &gt; Model &gt; 2003

Any idea why this could be happening?</description>
		<content:encoded><![CDATA[<p>for some reason i get two home crumbs and then the current crumb. </p>
<p>ex: Home &gt; Home &gt; Model &gt; 2003</p>
<p>Any idea why this could be happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error while installing Postgresql 8.3 on Windows XP by phitoz</title>
		<link>http://szeryf.wordpress.com/2009/02/22/error-while-installing-postgresql-83-on-windows-xp/#comment-1031</link>
		<dc:creator>phitoz</dc:creator>
		<pubDate>Sun, 31 May 2009 23:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=151#comment-1031</guid>
		<description>I&#039;ve unchecked the &quot;Deactivate Scripting Host&quot; and apply  Setting for this. But until now I couldn&#039;t install the postgresql8.3.7.1-widows.exe.
I&#039;ve changed values setting of HKLM\Software\Microsoft\Windows Scripting Host\Setting from regedit into 0, but it&#039;s still same. 

Any solution from my problem.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve unchecked the &#8220;Deactivate Scripting Host&#8221; and apply  Setting for this. But until now I couldn&#8217;t install the postgresql8.3.7.1-widows.exe.<br />
I&#8217;ve changed values setting of HKLM\Software\Microsoft\Windows Scripting Host\Setting from regedit into 0, but it&#8217;s still same. </p>
<p>Any solution from my problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error while installing Postgresql 8.3 on Windows XP by Krischan</title>
		<link>http://szeryf.wordpress.com/2009/02/22/error-while-installing-postgresql-83-on-windows-xp/#comment-1030</link>
		<dc:creator>Krischan</dc:creator>
		<pubDate>Mon, 25 May 2009 20:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=151#comment-1030</guid>
		<description>Thanks a lot for your help!!!!!!!</description>
		<content:encoded><![CDATA[<p>Thanks a lot for your help!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy and flexible breadcrumbs for Rails by Eric</title>
		<link>http://szeryf.wordpress.com/2008/06/13/easy-and-flexible-breadcrumbs-for-rails/#comment-1026</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 06 May 2009 19:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=45#comment-1026</guid>
		<description>Thanks for this good stuff! I added the eval business to the name param also just so I could throw the names of individual dynamic elements at the end of the crumb strings works great!</description>
		<content:encoded><![CDATA[<p>Thanks for this good stuff! I added the eval business to the name param also just so I could throw the names of individual dynamic elements at the end of the crumb strings works great!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
