<?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>80beans &#187; Ruby on Rails</title>
	<atom:link href="http://www.80beans.com/category/ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.80beans.com</link>
	<description></description>
	<lastBuildDate>Wed, 21 Jul 2010 13:03:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Introducing WysiHat Engine</title>
		<link>http://www.80beans.com/2009/10/01/wysihat-engine/</link>
		<comments>http://www.80beans.com/2009/10/01/wysihat-engine/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 15:49:35 +0000</pubDate>
		<dc:creator>Jeff Kreeftmeijer</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.80beans.com/?p=235</guid>
		<description><![CDATA[Since we were tired of the ugliness and size of TinyMCE — our previous WYSIWYG solution —, we decided to see if we could find a good replacement.
Luckily 37signals released a WYSIWYG editor last year called WysiHat, the “eventually better open source WYSIWYG editor”, so we tried it out. It was simple, no fancy themes [...]]]></description>
			<content:encoded><![CDATA[<p>Since we were tired of the ugliness and size of TinyMCE — our previous WYSIWYG solution —, we decided to see if we could find a good replacement.</p>
<p>Luckily <a href="http://37signals.com">37signals</a> released a WYSIWYG editor last year called <a href="http://37signals.com/svn/posts/1330-introducing-wysihat-an-eventually-better-open-source-wysiwyg-editor">WysiHat</a>, the “eventually better open source WYSIWYG editor”, so we tried it out. It was simple, no fancy themes or color schemes, just the backend code.</p>
<p>After playing with it for a while, we found a lot of hidden and undocumented features like including images or adding unordered lists. We decided to <a href="http://github.com/80beans/wysihat">fork</a> the project to write some more examples.</p>
<p>WysiHat is a great project and has a lot of potential, but probably hasn&#8217;t got the attention it deserves for a while now. There are some missing features you&#8217;d expect from a WYSIWYG editor, but the general idea is very, <em>very</em> good.</p>
<p>Joshua Peek told us the project is on hold; “<em>We&#8217;re planning to revisit the wysiwyg stuff in early 2010. So you can expect me to jump back in then.</em>”, but we hope there will be more activity from the rest of the community before that.</p>
<h3>The Engine</h3>
<p>We built the standard stuff like image uploading and html editing using WysiHat for a project we&#8217;re working on and we thought others could use it so we built the “<a href="http://github.com/80beans/wysihat-engine">WysiHat Rails Engine</a>” and released it to the world.<span id="more-235"></span></p>
<p>The goal for the engine was to quickly and easily be able to implement WysiHat editors in a project and doing so as pretty as possible. We extended the Rails Formbuilder to add the wysihat_editor form field. We added <a href="http://famspam.com/facebox">facebox</a> and some other javascript goodness and worked out an easy to use uploader. This means you could do something like this, which would give you a fully functional WYSIWYG editor:</p>
<pre>&lt;% form_for(@page) do |f| %&gt;
  &lt;%= f.error_messages %&gt;

  &lt;p&gt;
    &lt;%= f.label :content %&gt;&lt;br /&gt;
    &lt;%= f.wysihat_editor :content %&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;%= f.submit 'Create' %&gt;
  &lt;/p&gt;
% end %&gt;</pre>
<p>This will give you a full editor. The Engine also includes stylesheets and a bunch of icons so it looks good out of the box:</p>

<a href='http://www.80beans.com/2009/10/01/wysihat-engine/wysihat_01/' title='WysiHat Engine'><img width="150" height="150" src="http://www.80beans.com/wp-content/uploads/2009/10/wysihat_01-150x150.png" class="attachment-thumbnail" alt="WysiHat Engine creates a full-featured editor." title="WysiHat Engine" /></a>
<a href='http://www.80beans.com/2009/10/01/wysihat-engine/wysihat_02/' title='WysiHat'><img width="150" height="150" src="http://www.80beans.com/wp-content/uploads/2009/10/wysihat_02-150x150.png" class="attachment-thumbnail" alt="You can edit the HTML right out of the box." title="WysiHat" /></a>
<a href='http://www.80beans.com/2009/10/01/wysihat-engine/wysihat_03/' title='WysiHat'><img width="150" height="150" src="http://www.80beans.com/wp-content/uploads/2009/10/wysihat_03-150x150.png" class="attachment-thumbnail" alt="Uploading images and including them is super easy as well." title="WysiHat" /></a>

<p>There&#8217;s a <a href="http://wiki.github.com/80beans/wysihat-engine/installation">complete installation guide</a> and an <a href="http://wiki.github.com/80beans/wysihat-engine/examples">examples page</a> in the <a href="http://wiki.github.com/80beans/wysihat-engine">github project wiki</a> if you want to check it out.</p>
<p>Like WysiHat, this project is in a very early stage and like WysiHat, we would love you to help out and make this a great piece of software.</p>
<p>So if you have any issues, suggestions or ideas, don&#8217;t hesitate to <a href="http://github.com/80beans/wysihat-engine/issues">create an issue on github</a>, fork the project or contact us directly.</p>
<p><strong>UPDATE &#8211; October 3</strong></p>
<p>I got a lot of work done on the Engine yesterday. It’s a gem now and it’s hosted on <a rel="nofollow" href="http://gemcutter.org/gems/wysihat-engine">gemcutter</a>. The <a rel="nofollow" href="http://wiki.github.com/80beans/wysihat-engine/installation">installation guide</a> is updated, so that shouldn’t be a problem.</p>
<p>The ugly rake task is removed and I built a little generator, so all the stray folders in the root — like /public — are gone. I also removed the included plugins to add gem dependencies (<a rel="nofollow" href="http://github.com/thoughtbot/paperclip/">paperclip</a> and <a rel="nofollow" href="http://github.com/giraffesoft/resource_controller/">resource_controller</a>) and added the <a rel="nofollow" href="http://github.com/markcatley/responds_to_parent/">responds_to_parent</a> plugin installation to the generator, so you don’t have to worry about that. Installing the gem and running the generator is as simple as:</p>
<p><code>sudo gem install wysihat-engine</code></p>
<p>script/generate wysihat</p>
<p>While I was working on this, I realized the resource_controller gem is an unnecessary dependency. It will be removed as soon as possible to make place for a good ol’ controller. I think this will help users understand and use the gem better in their applications.</p>
<p>And let me say this one more time; have issues, ideas, suggestions or want to help out? Be sure to let us know!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.80beans.com/2009/10/01/wysihat-engine/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Syntactically Awesome StyleSheets</title>
		<link>http://www.80beans.com/2009/01/16/syntactically-awesome-stylesheets/</link>
		<comments>http://www.80beans.com/2009/01/16/syntactically-awesome-stylesheets/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 17:12:16 +0000</pubDate>
		<dc:creator>Roy Tomeij</dc:creator>
				<category><![CDATA[HTML, CSS & JavaScript]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.80beans.com/?p=103</guid>
		<description><![CDATA[Syntactically Awesome StyleSheets, or simply &#8220;Sass&#8221; is a great way of structuring your CSS using Ruby syntax. It spices up writing your CSS in several ways (use constants, do calculations, etc), with the most notable feature being the ability to use nested rules. This turns this:
#main
  :width 97%

  p, div
    [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html">Syntactically Awesome StyleSheets</a>, or simply &#8220;Sass&#8221; is a great way of structuring your CSS using Ruby syntax. It spices up writing your CSS in several ways (use constants, do calculations, etc), with the most notable feature being the ability to use nested rules. This turns this:</p>
<pre>#main
  :width 97%

  p, div
    :font-size 2em
    a
      :font-weight bold

  pre
    :font-size 3em
</pre>
<p>into</p>
<pre>#main {
  width: 97%; }
  #main p, #main div {
    font-size: 2em; }
    #main p a, #main div a {
      font-weight: bold; }
  #main pre {
    font-size: 3em; }
</pre>
<p>Just save your Sass file as <code>public/stylesheets/sass/application.sass</code> (filename may vary), and Sass will generate a <code>public/stylesheets/application.css</code>. This file will be re-generated after making changes to your <code>*.sass</code> file. Don&#8217;t forget to set an ignore property on your <code>*.css</code> files, since you don&#8217;t want to have those under version control.</p>
<p>We decided to use it for all our new projects, which has boosted our CSS productivity. Because of the structured syntax, also the not-so-CSS-savvy programmers can easily find what they are looking for in the CSS file. Highly recommended! See the above mentioned website for detailed installation and usage instructions.</p>
<p>Tip: to convert your plain old CSS to Sass, use the &#8220;css2sass&#8221; command line tool (included with haml): <code>css2sass oldfile.css newfile.sass</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.80beans.com/2009/01/16/syntactically-awesome-stylesheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 2.0 released</title>
		<link>http://www.80beans.com/2007/12/07/rails-20-released/</link>
		<comments>http://www.80beans.com/2007/12/07/rails-20-released/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 15:42:32 +0000</pubDate>
		<dc:creator>Thijs Cadier</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.80beans.com/2007/12/07/rails-20-released/</guid>
		<description><![CDATA[Today the release of Rails framework version 2.0 was announced. We have been developing using release candidates for a while and are happy with it, especially the RESTful resources.
]]></description>
			<content:encoded><![CDATA[<p>Today the release of Rails framework version 2.0 was <a href="http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done">announced</a>. We have been developing using release candidates for a while and are happy with it, especially the RESTful resources.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.80beans.com/2007/12/07/rails-20-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
