<?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>Mon, 26 Oct 2009 20:00:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>Comment on Cookie handling in multi-domain applications in Ruby on Rails by Michal</title>
		<link>http://szeryf.wordpress.com/2008/01/21/cookie-handling-in-multi-domain-applications-in-ruby-on-rails/#comment-1025</link>
		<dc:creator>Michal</dc:creator>
		<pubDate>Fri, 17 Apr 2009 13:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/2008/01/21/cookie-handling-in-multi-domain-applications-in-ruby-on-rails/#comment-1025</guid>
		<description>If your using Rails 2.3 or any other framework that utilizes Rack, this could be useful:
http://codetunes.com/2009/04/17/dynamic-cookie-domains-with-racks-middleware/</description>
		<content:encoded><![CDATA[<p>If your using Rails 2.3 or any other framework that utilizes Rack, this could be useful:<br />
<a href="http://codetunes.com/2009/04/17/dynamic-cookie-domains-with-racks-middleware/" rel="nofollow">http://codetunes.com/2009/04/17/dynamic-cookie-domains-with-racks-middleware/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error while installing Postgresql 8.3 on Windows XP by szeryf</title>
		<link>http://szeryf.wordpress.com/2009/02/22/error-while-installing-postgresql-83-on-windows-xp/#comment-1024</link>
		<dc:creator>szeryf</dc:creator>
		<pubDate>Thu, 02 Apr 2009 12:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=151#comment-1024</guid>
		<description>vidman: you must activate Scripting Host, not deactivate it :) (turn off deactivation in xp-antispy lango). Maybe you didn&#039;t apply changes in xp-antispy? Or there is something else that prevents intallation? Did you check Windows&#039; Event Log?</description>
		<content:encoded><![CDATA[<p>vidman: you must activate Scripting Host, not deactivate it :) (turn off deactivation in xp-antispy lango). Maybe you didn&#8217;t apply changes in xp-antispy? Or there is something else that prevents intallation? Did you check Windows&#8217; Event Log?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error while installing Postgresql 8.3 on Windows XP by vidman</title>
		<link>http://szeryf.wordpress.com/2009/02/22/error-while-installing-postgresql-83-on-windows-xp/#comment-1023</link>
		<dc:creator>vidman</dc:creator>
		<pubDate>Thu, 02 Apr 2009 12:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=151#comment-1023</guid>
		<description>installing postgresql-8.3.7-1-windows throws the same error after deactivating Scripting Host too...need your brain to fix this :)</description>
		<content:encoded><![CDATA[<p>installing postgresql-8.3.7-1-windows throws the same error after deactivating Scripting Host too&#8230;need your brain to fix this :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error while installing Postgresql 8.3 on Windows XP by Akim</title>
		<link>http://szeryf.wordpress.com/2009/02/22/error-while-installing-postgresql-83-on-windows-xp/#comment-1021</link>
		<dc:creator>Akim</dc:creator>
		<pubDate>Wed, 01 Apr 2009 09:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/?p=151#comment-1021</guid>
		<description>Thanks a lot,
Never would solve this error for my own.
Yo´re the best ;)</description>
		<content:encoded><![CDATA[<p>Thanks a lot,<br />
Never would solve this error for my own.<br />
Yo´re the best ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cookie handling in multi-domain applications in Ruby on Rails by kareem</title>
		<link>http://szeryf.wordpress.com/2008/01/21/cookie-handling-in-multi-domain-applications-in-ruby-on-rails/#comment-1020</link>
		<dc:creator>kareem</dc:creator>
		<pubDate>Tue, 31 Mar 2009 22:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://szeryf.wordpress.com/2008/01/21/cookie-handling-in-multi-domain-applications-in-ruby-on-rails/#comment-1020</guid>
		<description>thanks for updating your code for 2.3.2 , brendan</description>
		<content:encoded><![CDATA[<p>thanks for updating your code for 2.3.2 , brendan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
