<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>uRaNGaTaNG &#187; search</title>
	<atom:link href="http://www.rngtng.com/tag/search/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rngtng.com</link>
	<description>TobiTobes Tech Weblog featuring Ruby, Rails, Web development, Arduino, Processing, Geekstuff and more...</description>
	<lastBuildDate>Thu, 01 Jul 2010 11:36:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Pimp my TextMate: how to speed up search &amp; load</title>
		<link>http://www.rngtng.com/2009/06/18/pimp-my-textmate-how-to-speed-up-search-load/</link>
		<comments>http://www.rngtng.com/2009/06/18/pimp-my-textmate-how-to-speed-up-search-load/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 10:41:38 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[speedup]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[tweak]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=127</guid>
		<description><![CDATA[As a true Ruby on Rails developer you probably work with TextMate, as it&#8217;s a plain, simple, but yet quite powerful editor. I love its open-file-by-pattern (⌘+T) or find-in-project (⌘+⇧+F) functions. But one thing which bothered me the most was the search time when working on big, large, massive projects. One easy tweak how to [...]]]></description>
			<content:encoded><![CDATA[<p>As a true Ruby on Rails developer you probably work with <a href="http://macromates.com/">TextMate</a>, as it&#8217;s a plain, simple, but yet quite powerful editor. I love its open-file-by-pattern (⌘+T) or find-in-project (⌘+⇧+F) functions. But one thing which bothered me the most was the search time  when working on big, large, massive projects. One easy tweak how to speed it up easily is to extend the file and folder exclude patterns. For example you don&#8217;t need the <em>tmp</em>, <em>log</em> or <em>vendor</em> folder, nor any binary files within your editor. So I just excluded them, here are my new patterns (all in one line):</p>
<p>Files:  (excluded all images,pdf &amp; flash)</p>
<pre class="brush: plain;">
!(/\.(?!htaccess)[^/]*|\.(png|jpg|pdf|swf)|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$
</pre>
<p>Folders:  (exclude  tmp tools vendor uploads lang locale po old_migrations script images upload custom_maps log)</p>
<pre class="brush: plain;">
!.*/(\.[^/]*|CVS|doc|tmp|tools|vendor|uploads|lang|locale|po|old_migrations|script|images
|upload|custom_maps|log|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
</pre>
<p>To change the settings go to  </p>
<pre class="brush: plain;">
preferences -&gt; advanced -&gt; folder references
</pre>
<p>Yeah, now my search is quite fast again!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/06/18/pimp-my-textmate-how-to-speed-up-search-load/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Love ActiveScaffold: Show always Searchbox</title>
		<link>http://www.rngtng.com/2008/10/05/love-activescaffold-show-always-seachbox/</link>
		<comments>http://www.rngtng.com/2008/10/05/love-activescaffold-show-always-seachbox/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 12:34:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby, Rails & Co.]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Scaffold]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://urangatang.wordpress.com/?p=26</guid>
		<description><![CDATA[ActiveScaffold is a great plugin to build edit form easily. Nicely AJAX and nested forms support (well with limits . One thing which bugged me all the time, was the extra click you had to do to show the searchbox. Well I solved it like this: def index active_scaffold_config.list.label += render_to_string( :action =&#62; :search, :layout [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://activescaffold.com/">ActiveScaffold</a> is a great plugin to build edit form easily. Nicely AJAX and nested forms support (well with limits <img src='http://www.rngtng.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . One thing which bugged me all the time, was the extra click you had to do to show the searchbox. Well I solved it like this:</p>
<pre class="brush: ruby;">
  def index
    active_scaffold_config.list.label += render_to_string( :action =&gt; :search, :layout =&gt; false )
    super
  end
</pre>
<p>I know, it&#8217;s kind of bad hack, as the label actually isn&#8217;t supposed to contain a form &#8211; but it works out quite well! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2008/10/05/love-activescaffold-show-always-seachbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
