<?xml version="1.0" encoding="utf-8"?>
<!-- generator="wordpress/2.0.4" -->
<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/"
	>

<channel>
	<title>Underpants Gnome</title>
	<link>http://underpantsgnome.com</link>
	<description>1. Steal underpants 2. ??? 3. Profit!</description>
	<pubDate>Thu, 07 Aug 2008 03:28:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>FCKeditor on Rails</title>
		<link>http://underpantsgnome.com/projects/fckeditor-on-rails/</link>
		<comments>http://underpantsgnome.com/projects/fckeditor-on-rails/#comments</comments>
		<pubDate>Tue, 15 Nov 2005 05:51:02 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
		
	<category>General</category>
		<guid isPermaLink="false">http://www.underpantsgnome.com/projects/fckeditor-on-rails/</guid>
		<description><![CDATA[[UPDATE 2007-01-09]
So I&#8217;ve been writing Ruby/Rails to pay the bills for about 9 months now and this poor project has been suffering much longer than that. I had some time, wanted to clean this up and needed something that wasn&#8217;t work to code on to clear the head. So, if you are using Rails 1.2 [...]]]></description>
			<content:encoded><![CDATA[<p>[UPDATE 2007-01-09]<br />
So I&#8217;ve been writing Ruby/Rails to pay the bills for about 9 months now and this poor project has been suffering much longer than that. I had some time, wanted to clean this up and needed something that wasn&#8217;t work to code on to clear the head. So, if you are using Rails 1.2 you can now install this as a plugin in conjunction with <a href="http://rails-engines.org/">Rails Engines</a> or <a href="http://wiki.pluginaweek.org/Appable_plugins">AppablePlugins</a>.</p>
<p>You can get more info on the <a href="http://trac.underpantsgnome.com/fckeditor_on_rails">trac</a>.<br />
[/UPDATE]</p>
<p>I&#8217;ve been reading all this great stuff about <a href="http://www.rubyonrails.com/" target="_blank">Ruby on Rails</a> so I told my boss that we should look into it, then I expensed a copy of <a href="http://www.pragmaticprogrammer.com/titles/rails/index.html" target="_blank">Agile web Development with Rails</a> and gave it a read. It looked promising.</p>
<p>I read a post on the <a href="http://weblog.rubyonrails.com/archives/2005/09/01/how-to-integrate-fckeditor-and-rails" target="_blank">Rails blog</a> the other day about integrating FCKeditor with Rails and thought that would be a nice addition, unfortunately the method mentioned was little more than how to drop tags in a page to get FCKeditor to go. There wasn&#8217;t any real Rails to it.</p>
<p>I decided that would make a somewhat interesting project to start playing with Rails as it needs to interact with the file system a little. So I spent the past day-and-a-halfish building <a href="http://underpantsgnome.com/rails/fckeditor_on_rails/">FCKeditor on Rails</a>, it&#8217;s a little rough around the edges and I still want to integrate the mcpuk File Browser becasue it has so much more functionality than the default.</p>
<p>The end result is a Rails helper/controller that lets you add an FCKeditor instance just like you would expect in Rails: </p>
<p><code>fckeditor(:object, :param, {:width =&gt; '600px', :height =&gt; '500px'})</code> </p>
<p>not to shabby. Now we will see how long it takes me to get around to adding mcpuk support.</p>
<p>The source can also be found in the <a href="http://trac.underpantsgnome.com/fckeditor_on_rails">FCKeditor trac project</a>.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://underpantsgnome.com/projects/fckeditor-on-rails/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
