<?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; hack</title>
	<atom:link href="http://www.rngtng.com/tag/hack/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>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>
