<?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; Scaffold</title>
	<atom:link href="http://www.rngtng.com/tag/scaffold/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rngtng.com</link>
	<description>Featuring Ruby, Rails, Web development, Arduino, Processing, Nabaztag and more...</description>
	<lastBuildDate>Thu, 12 Jan 2012 10:08:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://www.rngtng.com/?pushpress=hub'/>
		<item>
		<title>Extending Active Scaffold as_paperclip_bridge to delete &amp; update image/attachment</title>
		<link>http://www.rngtng.com/2009/08/13/extending-active-scaffold-as_paperclip_bridge-to-delete-update-imageattachment/</link>
		<comments>http://www.rngtng.com/2009/08/13/extending-active-scaffold-as_paperclip_bridge-to-delete-update-imageattachment/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 15:53:35 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Ruby, Rails & Co.]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[attachment]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[on]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Rails & Co.]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[Scaffold]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=193</guid>
		<description><![CDATA[As you know I'm quite fond of working with Active Scaffold (AS) for data administration proposes. Quite recently we moved over to the RoR paperclip attachment plugin for file upload handling. I was even more happy to see a Active Scaffold bridge which integrates paperclip smoothly into AS as well. It's created by and ...]]></description>
			<content:encoded><![CDATA[<p>As you know I&#8217;m quite fond of working with <a href="http://activescaffold.com/" class="broken_link">Active Scaffold (AS)</a> for data administration proposes. Quite recently we moved over to the RoR <a href="http://www.thoughtbot.com/projects/paperclip">paperclip attachment plugin</a> for file upload handling. I was even more happy to see a Active Scaffold bridge which integrates paperclip smoothly into AS as well. It&#8217;s created by and hosted <a href="http://github.com/mnaglik/as_paperclip_bridge/tree/master" class="broken_link">here</a> on github.</p>
<p>Unfortunately it didn&#8217;t provide the possibility to delete or update an image once it&#8217;s assigned to an object. Well no problem, another fork of mine, some coding and now it possible. I basically reused to code of the as_file_column_bridge. Check it out here:<br />
<del datetime="2010-01-11T09:46:08+00:00"><a href="http://github.com/rngtng/as_paperclip_bridge/tree/master" target="_blank">http://github.com/rngtng/as_paperclip_bridge/tree/master</a></del></p>
<p><strong>Update:</strong> changes got merged into trunk, check it out: </p>
<p><a href="http://github.com/mnaglik/as_paperclip_bridge/" target="_blank">http://github.com/mnaglik/as_paperclip_bridge/</a></p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/08/13/extending-active-scaffold-as_paperclip_bridge-to-delete-update-imageattachment/feed/</wfw:commentRss>
		<slash:comments>4</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:



I know, it's kind of bad hack, as the ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://activescaffold.com/" class="broken_link">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; title: ; notranslate">
  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>
<p class="wp-flattr-button"></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>

