<?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>[schuchlenz.com] &#187; activescaffold</title>
	<atom:link href="http://www.schuchlenz.com/tag/activescaffold/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.schuchlenz.com</link>
	<description>posts.each do { &#124;p&#124; read(p) }</description>
	<lastBuildDate>Thu, 25 Feb 2010 13:25:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ActiveScaffold: How to get started</title>
		<link>http://www.schuchlenz.com/activescaffold-how-to-get-started/</link>
		<comments>http://www.schuchlenz.com/activescaffold-how-to-get-started/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 10:27:18 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[activescaffold]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[resource]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/activescaffold-how-to-get-started/</guid>
		<description><![CDATA[When I took a first peek at ActiveScaffold, I had no idea into how much trouble I&#8217;d run before creating beautiful AND working backends for my applications. I had LOTS of research to do to get around some rather nasty issues and I want to provide you with some info on how to get stuff [...]]]></description>
			<content:encoded><![CDATA[<p>When I took a first peek at <a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">ActiveScaffold</a>, I had no idea into how much trouble I&#8217;d run before creating beautiful AND working backends for my applications. I had LOTS of research to do to get around some rather nasty issues and I want to provide you with some info on how to get stuff done.</p>
<p><b>Some prerequisites:</b><br />
I use <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">Rails</a> 2.3.4 at the time this is posted and my gem list shows:</p>
<p>actionmailer (2.3.4)<br />
actionpack (2.3.4)<br />
activerecord (2.3.4)<br />
activeresource (2.3.4)<br />
activesupport (2.3.4)<br />
<a href="http://www.schuchlenz.com/tag/flickraw/" class="st_tag internal_tag" rel="tag" title="Posts tagged with flickraw">flickraw</a> (0.7.1)<br />
json (1.1.9)<br />
locale (2.0.4)<br />
locale_rails (2.0.4)<br />
mime-types (1.16)<br />
mysql (2.8.1)<br />
rack (1.0.0)<br />
railroad (0.5.0)<br />
<a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">rails</a> (2.3.4)<br />
rake (0.8.7)<br />
thoughtbot-paperclip (2.3.1)</p>
<p><b>Installation:</b><br />
To <a href="http://www.schuchlenz.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> AS, open a shell and type:<br />
<code><a href="http://www.schuchlenz.com/tag/ruby/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ruby">ruby</a> script/<a href="http://www.schuchlenz.com/tag/plugin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with plugin">plugin</a> <a href="http://www.schuchlenz.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> <a href="http://www.schuchlenz.com/tag/git/" class="st_tag internal_tag" rel="tag" title="Posts tagged with git">git</a>://github.com/<a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">activescaffold</a>/active_scaffold.<a href="http://www.schuchlenz.com/tag/git/" class="st_tag internal_tag" rel="tag" title="Posts tagged with git">git</a></code><br />
Installs AS and all the necessary stuff<br />
<code><a href="http://www.schuchlenz.com/tag/ruby/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ruby">ruby</a> script/<a href="http://www.schuchlenz.com/tag/plugin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with plugin">plugin</a> <a href="http://www.schuchlenz.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> <a href="http://www.schuchlenz.com/tag/git/" class="st_tag internal_tag" rel="tag" title="Posts tagged with git">git</a>://github.com/<a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">rails</a>/in_place_editing.<a href="http://www.schuchlenz.com/tag/git/" class="st_tag internal_tag" rel="tag" title="Posts tagged with git">git</a></code><br />
Ooops, in place editing was missing &#8211; so let&#8217;s <a href="http://www.schuchlenz.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> it.<br />
<code><a href="http://www.schuchlenz.com/tag/ruby/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ruby">ruby</a> script/<a href="http://www.schuchlenz.com/tag/plugin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with plugin">plugin</a> <a href="http://www.schuchlenz.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> --force <a href="http://www.schuchlenz.com/tag/git/" class="st_tag internal_tag" rel="tag" title="Posts tagged with git">git</a>://github.com/lackac/<a href="http://www.schuchlenz.com/tag/render_component/" class="st_tag internal_tag" rel="tag" title="Posts tagged with render_component">render_component</a>.<a href="http://www.schuchlenz.com/tag/git/" class="st_tag internal_tag" rel="tag" title="Posts tagged with git">git</a> -r <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">rails</a>-edge'</code><br />
Ooops again, <a href="http://www.schuchlenz.com/tag/render_component/" class="st_tag internal_tag" rel="tag" title="Posts tagged with render_component">render_component</a> was taken out of <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">Rails</a> so subforms wouldn&#8217;t work &#8211; let&#8217;s get around this by installing lackac&#8217;s <a href="http://www.schuchlenz.com/tag/plugin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with plugin">plugin</a> (thanks!)</p>
<p><b>OK, basically, you are set. What now?</b><br />
The <a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">ActiveScaffold</a> website (www.<a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">activescaffold</a>.com) and especially their API docs are your bible. So read them, re-read them and re-re-read them while building stuff with AS &#8211; you will need the (rudimentary) tipps included there.<br />
Ok, now let&#8217;s start with integrating AS into our app. Let&#8217;s say you have a basic application which already has a master layout. Put this tag into the <HEAD> of your layout:</p>
<p><code><%= active_scaffold_includes %></code></p>
<p>It includes all the magic needed for AS. To continue, you should have a <a href="http://www.schuchlenz.com/tag/resource/" class="st_tag internal_tag" rel="tag" title="Posts tagged with resource">resource</a> we can work on, in this case I created a <a href="http://www.schuchlenz.com/tag/resource/" class="st_tag internal_tag" rel="tag" title="Posts tagged with resource">resource</a> named &#8220;customer&#8221; to store some customer info in it and work on it with AS:</p>
<p><code><a href="http://www.schuchlenz.com/tag/ruby/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ruby">ruby</a> script/generate <a href="http://www.schuchlenz.com/tag/resource/" class="st_tag internal_tag" rel="tag" title="Posts tagged with resource">resource</a> customer name:string phone:string email:string description:string is_active:boolean</code></p>
<p>Migrate the data now:</p>
<p><code>rake db:migrate</code></p>
<p>Edit your customers_controller.rb in app/controllers and put</p>
<p><code>active_scaffold :customer do |config|<br />
end</code></p>
<p>right after</p>
<p><code>class CustomerController < ApplicationController</code></p>
<p>to make AS aware that it should take care of our customers. Now open config/routes.rb and add :active_scaffold => true right after the customer <a href="http://www.schuchlenz.com/tag/resource/" class="st_tag internal_tag" rel="tag" title="Posts tagged with resource">resource</a>. When you start your server and call /customers, you now should see AS in action. Congratulations, this was the first part <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;title=ActiveScaffold%3A%20How%20to%20get%20started&amp;bodytext=When%20I%20took%20a%20first%20peek%20at%20ActiveScaffold%2C%20I%20had%20no%20idea%20into%20how%20much%20trouble%20I%27d%20run%20before%20creating%20beautiful%20AND%20working%20backends%20for%20my%20applications.%20I%20had%20LOTS%20of%20research%20to%20do%20to%20get%20around%20some%20rather%20nasty%20issues%20and%20I%20want%20to%20provide%20you%20" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;title=ActiveScaffold%3A%20How%20to%20get%20started&amp;notes=When%20I%20took%20a%20first%20peek%20at%20ActiveScaffold%2C%20I%20had%20no%20idea%20into%20how%20much%20trouble%20I%27d%20run%20before%20creating%20beautiful%20AND%20working%20backends%20for%20my%20applications.%20I%20had%20LOTS%20of%20research%20to%20do%20to%20get%20around%20some%20rather%20nasty%20issues%20and%20I%20want%20to%20provide%20you%20" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;t=ActiveScaffold%3A%20How%20to%20get%20started" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;title=ActiveScaffold%3A%20How%20to%20get%20started&amp;annotation=When%20I%20took%20a%20first%20peek%20at%20ActiveScaffold%2C%20I%20had%20no%20idea%20into%20how%20much%20trouble%20I%27d%20run%20before%20creating%20beautiful%20AND%20working%20backends%20for%20my%20applications.%20I%20had%20LOTS%20of%20research%20to%20do%20to%20get%20around%20some%20rather%20nasty%20issues%20and%20I%20want%20to%20provide%20you%20" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=ActiveScaffold%3A%20How%20to%20get%20started&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;bm_description=ActiveScaffold%3A%20How%20to%20get%20started&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;t=ActiveScaffold%3A%20How%20to%20get%20started" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;title=ActiveScaffold%3A%20How%20to%20get%20started" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Factivescaffold-how-to-get-started%2F&amp;t=ActiveScaffold%3A%20How%20to%20get%20started&opener=bm&amp;ei=UTF-8&amp;d=When%20I%20took%20a%20first%20peek%20at%20ActiveScaffold%2C%20I%20had%20no%20idea%20into%20how%20much%20trouble%20I%27d%20run%20before%20creating%20beautiful%20AND%20working%20backends%20for%20my%20applications.%20I%20had%20LOTS%20of%20research%20to%20do%20to%20get%20around%20some%20rather%20nasty%20issues%20and%20I%20want%20to%20provide%20you%20" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/" title="Rails: Integrate FCKEditor with ActiveScaffold (30.10.2009)">Rails: Integrate FCKEditor with ActiveScaffold</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/quick-and-dirty-guide-to-your-1st-rails-app-part-1/" title="Quick and Dirty Guide to your 1st Rails app &#8211; Part #1 (03.11.2009)">Quick and Dirty Guide to your 1st Rails app &#8211; Part #1</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/must-have-plugins-for-rails/" title="Must-have plugins for Rails (30.10.2009)">Must-have plugins for Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/mailer-howto-for-rails/" title="Mailer HOWTO for Rails (05.11.2009)">Mailer HOWTO for Rails</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/activescaffold-how-to-get-started/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rails: Integrate FCKEditor with ActiveScaffold</title>
		<link>http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/</link>
		<comments>http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 12:36:00 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[activescaffold]]></category>
		<category><![CDATA[fckeditor]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/</guid>
		<description><![CDATA[When trying to use tiny_mce with ActiveScaffold I noticed that it is simply impossible due to some JS issues. So I decided to revert back to FCKEditor and came across gramos&#8217; easy fckeditor plugin for rails and AS (get it here).
Good news is, you just need to install it, call rake fckeditor:install and do some [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to use tiny_mce with <a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">ActiveScaffold</a> I noticed that it is simply impossible due to some JS issues. So I decided to revert back to <a href="http://www.schuchlenz.com/tag/fckeditor/" class="st_tag internal_tag" rel="tag" title="Posts tagged with fckeditor">FCKEditor</a> and came across gramos&#8217; easy <a href="http://www.schuchlenz.com/tag/fckeditor/" class="st_tag internal_tag" rel="tag" title="Posts tagged with fckeditor">fckeditor</a> <a href="http://www.schuchlenz.com/tag/plugin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with plugin">plugin</a> for <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">rails</a> and AS (get it <a target="_blank" href="http://github.com/gramos">here</a>).</p>
<p>Good news is, you just need to <a href="http://www.schuchlenz.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> it, call <code>rake <a href="http://www.schuchlenz.com/tag/fckeditor/" class="st_tag internal_tag" rel="tag" title="Posts tagged with fckeditor">fckeditor</a>:<a href="http://www.schuchlenz.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a></code> and do some simple steps to get it running:</p>
<p>1.) Add a form field override to your model (let&#8217;s say our model&#8217;s name is news and we want to equip the newstext field with an editor):</p>
<p><code>def newstext_form_column(record, input_name)<br />&nbsp; fckeditor_textarea( :record, :newstext, :name=&gt; input_name, :width =&gt; FCKWIDTH, :height =&gt; FCKHEIGHT, :toolbarSet =&gt; FCKTOOLBAR )<br />end</code></p>
<p><code>def newstext_column(record)<br />&nbsp; sanitize(record.newstext)<br />end</code></p>
<p><i>Notice that I added the constants FCKWITH, FCKHEIGHT and FCKTOOLBAR to my config/environment.rb to make sure we can easily edit the attributes of our editor and switch toolbars without editing 1.000 files <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <br /></i><br />2.) Copy over _create_form.html.erb and _update_form.html.erb to your app/views/posts/</p>
<p>3.) edit them by adding the following instead of the submit button tag (bottom of the file):</p>
<p><code>&lt;input type="submit" value="Create" class="submit" onClick="var oEditor = FCKeditorAPI.GetInstance('record_&lt;%=@record.id%&gt;_&lt;%='newstext'%&gt;_editor'); document.getElementById('record_&lt;%=@record.id%&gt;_&lt;%='newstext'%&gt;_editor').value = oEditor.GetXHTML();" /&gt;</code></p>
<p>Now just replace Create with Update in the _update_form.html.erb and restart your server &#8211; here we go <img src='http://www.schuchlenz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;title=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold&amp;bodytext=When%20trying%20to%20use%20tiny_mce%20with%20ActiveScaffold%20I%20noticed%20that%20it%20is%20simply%20impossible%20due%20to%20some%20JS%20issues.%20So%20I%20decided%20to%20revert%20back%20to%20FCKEditor%20and%20came%20across%20gramos%27%20easy%20fckeditor%20plugin%20for%20rails%20and%20AS%20%28get%20it%20here%29.Good%20news%20is%2C%20you%20just" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;title=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold&amp;notes=When%20trying%20to%20use%20tiny_mce%20with%20ActiveScaffold%20I%20noticed%20that%20it%20is%20simply%20impossible%20due%20to%20some%20JS%20issues.%20So%20I%20decided%20to%20revert%20back%20to%20FCKEditor%20and%20came%20across%20gramos%27%20easy%20fckeditor%20plugin%20for%20rails%20and%20AS%20%28get%20it%20here%29.Good%20news%20is%2C%20you%20just" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;t=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;title=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold&amp;annotation=When%20trying%20to%20use%20tiny_mce%20with%20ActiveScaffold%20I%20noticed%20that%20it%20is%20simply%20impossible%20due%20to%20some%20JS%20issues.%20So%20I%20decided%20to%20revert%20back%20to%20FCKEditor%20and%20came%20across%20gramos%27%20easy%20fckeditor%20plugin%20for%20rails%20and%20AS%20%28get%20it%20here%29.Good%20news%20is%2C%20you%20just" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;bm_description=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;t=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;title=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Frails-integrate-fckeditor-with-activescaffold%2F&amp;t=Rails%3A%20Integrate%20FCKEditor%20with%20ActiveScaffold&opener=bm&amp;ei=UTF-8&amp;d=When%20trying%20to%20use%20tiny_mce%20with%20ActiveScaffold%20I%20noticed%20that%20it%20is%20simply%20impossible%20due%20to%20some%20JS%20issues.%20So%20I%20decided%20to%20revert%20back%20to%20FCKEditor%20and%20came%20across%20gramos%27%20easy%20fckeditor%20plugin%20for%20rails%20and%20AS%20%28get%20it%20here%29.Good%20news%20is%2C%20you%20just" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/must-have-plugins-for-rails/" title="Must-have plugins for Rails (30.10.2009)">Must-have plugins for Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/activescaffold-how-to-get-started/" title="ActiveScaffold: How to get started (02.11.2009)">ActiveScaffold: How to get started</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/rails-predefining-date-formats/" title="Rails: Predefining date formats (30.10.2009)">Rails: Predefining date formats</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/rails-extracting-fixtures-from-databases/" title="Rails: Extracting fixtures from databases (30.10.2009)">Rails: Extracting fixtures from databases</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Must-have plugins for Rails</title>
		<link>http://www.schuchlenz.com/must-have-plugins-for-rails/</link>
		<comments>http://www.schuchlenz.com/must-have-plugins-for-rails/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 11:39:00 +0000</pubDate>
		<dc:creator>Stefan Schuchlenz</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[activescaffold]]></category>
		<category><![CDATA[fckeditor]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[flickraw]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[render_component]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.schuchlenz.com/must-have-plugins-for-rails/</guid>
		<description><![CDATA[When creating applications with Ruby on Rails, I come across the same plugins I need all the time: rich text editor, file uploads, stuff like that.
Here is a quick mashup of useful plugins you might want to check out for your Rails development:
Paperclip:A very streamlined and easy to use file upload &#8211; there is also [...]]]></description>
			<content:encoded><![CDATA[<p>When creating applications with <a href="http://www.schuchlenz.com/tag/ruby/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ruby">Ruby</a> on <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">Rails</a>, I come across the same plugins I need all the time: rich text editor, file uploads, stuff like that.</p>
<p>Here is a quick mashup of useful plugins you might want to check out for your <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">Rails</a> development:</p>
<p><b>Paperclip:</b><br />A very streamlined and easy to use file upload &#8211; there is also a bridge <a href="http://www.schuchlenz.com/tag/plugin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with plugin">plugin</a> that makes it work out nicely with <a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">ActiveScaffold</a>. Get it <a target="_blank" href="http://www.thoughtbot.com/projects/paperclip">here</a> !</p>
<p><b>Gramos&#8217; Easy <a href="http://www.schuchlenz.com/tag/fckeditor/" class="st_tag internal_tag" rel="tag" title="Posts tagged with fckeditor">FCKEditor</a>:</b><br />Since tiny_mce is one hell of an editor for your web projects but does not work with <a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">ActiveScaffold</a>, I have decided to switch back over to FCK for those AS-FCK-EasyUpload needs. Get it <a target="_blank" href="http://github.com/gramos">here</a> !</p>
<p><b>Render Component fix for <a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">ActiveScaffold</a>:</b><br />You may have noticed that the good guys over at the <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">Rails</a> core team have decided to kill <a href="http://www.schuchlenz.com/tag/render_component/" class="st_tag internal_tag" rel="tag" title="Posts tagged with render_component">render_component</a>, which is especially nasty when it comes to using <a href="http://www.schuchlenz.com/tag/activescaffold/" class="st_tag internal_tag" rel="tag" title="Posts tagged with activescaffold">ActiveScaffold</a> and has_and_belongs_to_many relations with subforms (guess what? they won&#8217;t work ^^). The solution is installing the <a href="http://www.schuchlenz.com/tag/render_component/" class="st_tag internal_tag" rel="tag" title="Posts tagged with render_component">render_component</a> fix via:</p>
<p><code><a href="http://www.schuchlenz.com/tag/ruby/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ruby">ruby</a> script/<a href="http://www.schuchlenz.com/tag/plugin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with plugin">plugin</a> <a href="http://www.schuchlenz.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> --force <a href="http://www.schuchlenz.com/tag/git/" class="st_tag internal_tag" rel="tag" title="Posts tagged with git">git</a>://github.com/lackac/<a href="http://www.schuchlenz.com/tag/render_component/" class="st_tag internal_tag" rel="tag" title="Posts tagged with render_component">render_component</a>.<a href="http://www.schuchlenz.com/tag/git/" class="st_tag internal_tag" rel="tag" title="Posts tagged with git">git</a> -r <a href="http://www.schuchlenz.com/tag/rails/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rails">rails</a>-edge</code></p>
<p><b><a href="http://www.schuchlenz.com/tag/flickraw/" class="st_tag internal_tag" rel="tag" title="Posts tagged with flickraw">FlickRaw</a>:</b><br />Allows for accessing <a href="http://www.schuchlenz.com/tag/flickr/" class="st_tag internal_tag" rel="tag" title="Posts tagged with flickr">flickr</a> data from your account via the <a href="http://www.schuchlenz.com/tag/flickr/" class="st_tag internal_tag" rel="tag" title="Posts tagged with flickr">flickr</a> apis. I have tried quite some other plugins put <a href="http://www.schuchlenz.com/tag/flickraw/" class="st_tag internal_tag" rel="tag" title="Posts tagged with flickraw">flickraw</a> is the most intuitive (and&#8230; well&#8230; it works). You can find a <a href="http://www.schuchlenz.com/tag/howto/" class="st_tag internal_tag" rel="tag" title="Posts tagged with howto">HOWTO</a> and info <a target="_blank" href="http://blog.netzpiraten.ch/flickr-on-rails-mit-flickraw/">here</a> .</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this on:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;partner=sociable" title="Print"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;title=Must-have%20plugins%20for%20Rails&amp;bodytext=When%20creating%20applications%20with%20Ruby%20on%20Rails%2C%20I%20come%20across%20the%20same%20plugins%20I%20need%20all%20the%20time%3A%20rich%20text%20editor%2C%20file%20uploads%2C%20stuff%20like%20that.Here%20is%20a%20quick%20mashup%20of%20useful%20plugins%20you%20might%20want%20to%20check%20out%20for%20your%20Rails%20development%3APapercl" title="Digg"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;title=Must-have%20plugins%20for%20Rails&amp;notes=When%20creating%20applications%20with%20Ruby%20on%20Rails%2C%20I%20come%20across%20the%20same%20plugins%20I%20need%20all%20the%20time%3A%20rich%20text%20editor%2C%20file%20uploads%2C%20stuff%20like%20that.Here%20is%20a%20quick%20mashup%20of%20useful%20plugins%20you%20might%20want%20to%20check%20out%20for%20your%20Rails%20development%3APapercl" title="del.icio.us"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;t=Must-have%20plugins%20for%20Rails" title="Facebook"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;title=Must-have%20plugins%20for%20Rails&amp;annotation=When%20creating%20applications%20with%20Ruby%20on%20Rails%2C%20I%20come%20across%20the%20same%20plugins%20I%20need%20all%20the%20time%3A%20rich%20text%20editor%2C%20file%20uploads%2C%20stuff%20like%20that.Here%20is%20a%20quick%20mashup%20of%20useful%20plugins%20you%20might%20want%20to%20check%20out%20for%20your%20Rails%20development%3APapercl" title="Google Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Must-have%20plugins%20for%20Rails&amp;body=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F" title="email"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;bm_description=Must-have%20plugins%20for%20Rails&amp;plugin=soc" title="MisterWong"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;t=Must-have%20plugins%20for%20Rails" title="MySpace"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;title=Must-have%20plugins%20for%20Rails" title="Reddit"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.schuchlenz.com/feed/" title="RSS"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.schuchlenz.com%2Fmust-have-plugins-for-rails%2F&amp;t=Must-have%20plugins%20for%20Rails&opener=bm&amp;ei=UTF-8&amp;d=When%20creating%20applications%20with%20Ruby%20on%20Rails%2C%20I%20come%20across%20the%20same%20plugins%20I%20need%20all%20the%20time%3A%20rich%20text%20editor%2C%20file%20uploads%2C%20stuff%20like%20that.Here%20is%20a%20quick%20mashup%20of%20useful%20plugins%20you%20might%20want%20to%20check%20out%20for%20your%20Rails%20development%3APapercl" title="Yahoo! Bookmarks"><img src="http://www.schuchlenz.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.schuchlenz.com/rails-integrate-fckeditor-with-activescaffold/" title="Rails: Integrate FCKEditor with ActiveScaffold (30.10.2009)">Rails: Integrate FCKEditor with ActiveScaffold</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/activescaffold-how-to-get-started/" title="ActiveScaffold: How to get started (02.11.2009)">ActiveScaffold: How to get started</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/the-numberhelper-in-rails/" title="The NumberHelper in Rails (30.10.2009)">The NumberHelper in Rails</a> (0)</li>
	<li><a href="http://www.schuchlenz.com/rails-predefining-date-formats/" title="Rails: Predefining date formats (30.10.2009)">Rails: Predefining date formats</a> (2)</li>
	<li><a href="http://www.schuchlenz.com/rails-extracting-fixtures-from-databases/" title="Rails: Extracting fixtures from databases (30.10.2009)">Rails: Extracting fixtures from databases</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.schuchlenz.com/must-have-plugins-for-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
