<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en-US">
  <id>tag:www.railsjedi.com,2005:/blogs/railsjedi</id>
  <link type="text/html" href="http://www.railsjedi.com" rel="alternate" />
  
  <title>Rails Jedi</title>
  <updated>2008-07-12T00:46:07+00:00</updated>
  <thespringbox:skin xmlns:thespringbox="http://www.thespringbox.com/dtds/thespringbox-1.0.dtd">http://feeds.feedburner.com/RailsJedi?format=skin</thespringbox:skin><link rel="license" type="text/html" href="http://creativecommons.org/licenses/by/2.0/" /><link rel="self" href="http://feeds.feedburner.com/RailsJedi" type="application/atom+xml" /><feedburner:emailServiceId>RailsJedi</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:browserFriendly>Thanks for checking out RailsJedi. You should also subscribe to my RailsJedi Blog via email by clicking the link over to the right. That way you'll never miss a post.</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry>
    <id>tag:www.railsjedi.com,2005:Post/56</id>
    <published>2008-07-12T00:43:20+00:00</published>
    <updated>2008-07-12T00:46:07+00:00</updated>
    <link type="text/html" href="http://feedproxy.google.com/~r/RailsJedi/~3/fDQPZ5hJxlE/56-TakeFive-Interview" rel="alternate" />
    <title>TakeFive Interview</title>
    <content type="html">&lt;p&gt;FiveRuns has been kind enough to post my submission to their TakeFive questionnaire&amp;#8230;. &lt;a href="http://blog.fiveruns.com/2008/7/12/rails-takefive-five-questions-with-jacques-crocker"&gt;Give it a Read&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RailsJedi/~4/fDQPZ5hJxlE" height="1" width="1"/&gt;</content>
    <author>
      <name>jacques</name>
    </author>
  <feedburner:origLink>http://www.railsjedi.com/posts/56-TakeFive-Interview</feedburner:origLink></entry>
  <entry>
    <id>tag:www.railsjedi.com,2005:Post/52</id>
    <published>2008-06-01T21:40:57+00:00</published>
    <updated>2008-06-23T11:08:41+00:00</updated>
    <link type="text/html" href="http://feedproxy.google.com/~r/RailsJedi/~3/io6Ia-Lwcv8/52-The-Holy-Grail-for-Rails-Deployment" rel="alternate" />
    <title>Passenger @ RailsConf</title>
    <content type="html">&lt;p&gt;At their RailsConf session this morning, the &lt;a href="http://phusion.nl"&gt;Phusion&lt;/a&gt; team had some big announcements.&lt;/p&gt;


	&lt;p&gt;- Passenger version 2.0 will be releasing today&lt;/p&gt;


	&lt;p&gt;- Ruby Enterprise version 1.0 will be releasing today&lt;/p&gt;


	&lt;p&gt;The biggest news so far is the immediate availability of support for &lt;a href="http://rack.rubyforge.org/"&gt;Rack&lt;/a&gt; in Passenger. This means &lt;a href="http://merbivore.com"&gt;Merb&lt;/a&gt;, &lt;a href="http://sinatrarb.com"&gt;Sinatra&lt;/a&gt;, and any other ruby framework with an adapter now has a braindead easy way to deploy and host with Apache. Since Passenger is now framework agnostic, they have dropped the name &amp;#8220;ModRails&amp;#8221;, even though I suspect it will be referred to by this name for a long time to come.&lt;/p&gt;


	&lt;p&gt;Ruby Enterprise is the other big news of the day. It&amp;#8217;s a tweaked Ruby &lt;span class="caps"&gt;MRI&lt;/span&gt; (with a terrible name) that vastly decreases memory usage (around 25%) for your hosted app. It uses a strategy called copy-on-write which he explains in his slides (should be available soon). Since memory is at a premium on &lt;span class="caps"&gt;VPS&lt;/span&gt; installations, this is a huge benefit and should allow you to save a decent amount of money right off the bat. The coolest part is their slick installer which takes care of all the setup for you so its a dead simple replacement, and it is perfectly happy to install alongside the normal Ruby &lt;span class="caps"&gt;MRI&lt;/span&gt; installation.&lt;/p&gt;


	&lt;p&gt;I worked with the Phusion team this afternoon and installed the new Passenger 2.0 and Ruby Enterprise on my SliceHost. Everything worked like a charm as the installer scripts are extremely robust and newbie friendly. I&amp;#8217;ll follow up next week with detailed instructions and some stats for memory usage of the new server compared with the old.&lt;/p&gt;


	&lt;p&gt;With my experience with Passenger so far, I&amp;#8217;m finally convinced it&amp;#8217;s the best of breed deployment solution for Ruby on Rails apps large and small. Start &lt;a href="http://www.rubyinside.com/28_mod_rails_and_passenger_resources-899.html"&gt;reading&lt;/a&gt; up on it and give it a try.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RailsJedi/~4/io6Ia-Lwcv8" height="1" width="1"/&gt;</content>
    <author>
      <name>jacques</name>
    </author>
  <feedburner:origLink>http://www.railsjedi.com/posts/52-The-Holy-Grail-for-Rails-Deployment</feedburner:origLink></entry>
  <entry>
    <id>tag:www.railsjedi.com,2005:Post/35</id>
    <published>2008-04-16T06:50:54+00:00</published>
    <updated>2008-04-16T11:10:36+00:00</updated>
    <link type="text/html" href="http://feedproxy.google.com/~r/RailsJedi/~3/5pr5TJLbyLM/35-Javascript-Enabled-or-Bust" rel="alternate" />
    <title>Javascript-Enabled or Bust</title>
    <content type="html">&lt;p&gt;After a recent deluge of blog spam, I went ahead and installed an interesting Rails plugin to my project called &lt;a href="http://code.google.com/p/form-spam-protection/"&gt;form-spam-protection&lt;/a&gt;. I was actually initially searching for a captcha plugin, but since I despise captchas on sites and wasn&amp;#8217;t in the mood to integrate with the &lt;a href="http://akismet.com/"&gt;Akismet&lt;/a&gt; antispam web service, I jumped on the opportunity to try this thing out.&lt;/p&gt;


	&lt;p&gt;What the plugin does is tries to block spam seamlessly on your forms by using a little hackery on the backend. When an html form is displayed, it encodes a string via &lt;span class="caps"&gt;SHA1&lt;/span&gt; on the server side. It then uses Hivelogic&amp;#8217;s &lt;a href="http://hivelogic.com/enkoder"&gt;Enkoder&lt;/a&gt; to output a mess of javascript to the page, which on the client side, populates the form which via that javascript code, putting the key back together into a hidden field before the form submission. Then, on postback it validates the key with the one previously added to the session. For a more detailed explanation, click &lt;a href="http://s3.amazonaws.com/railsjedi/huhImage2.jpg"&gt;here&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;Anyways, the thing seems to works great. But as you might be able to guess it&amp;#8217;s got one big catch. One whose consequences may invoke rage in some certain individuals. Try turning off javascript and interacting with my site (submitting a comment, or logging in) and here&amp;#8217;s what you might see.&lt;/p&gt;



        &lt;p&gt;
          &lt;a href="http://s3.amazonaws.com:/blogcircle.production/image_attachments/238/denied.png" target="_blank"&gt;
            &lt;img src="http://s3.amazonaws.com:/blogcircle.production/image_attachments/238/denied_display.png" style="float:left;margin-right:10px;" /&gt;
          &lt;/a&gt;
          Deeeeenied
          
          &lt;br style="clear:both"/&gt;
        &lt;/p&gt;
      


	&lt;p&gt;Pleasant error message I&amp;#8217;d say. But my question is, are we to the point where we can just say no to those folks who don&amp;#8217;t have Javascript enabled? What year are these people living in anyways? Long ago we passed the point where we could safely give the finger to our non-cookie enabled users. Is it about that time to be A-OK with offering the same treatment for non-javascript users?&lt;/p&gt;


	&lt;p&gt;One interesting sidenote, despite my complete indifference to the pain and struggle of our less fortunate javascriptless citizens, I still agree wholeheartedly with the coding practice of using &amp;#8220;unobtrusive&amp;#8221; javascript. While I couldn&amp;#8217;t care less about graceful degradation part, separating generated html from your javascript code does make things vastly more reusable and easier to manage during web development.&lt;/p&gt;


	&lt;p&gt;Feel free to complain about this in the comments. But if you don&amp;#8217;t have javascript on, you won&amp;#8217;t be able to post one anyways.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RailsJedi/~4/5pr5TJLbyLM" height="1" width="1"/&gt;</content>
    <author>
      <name>jacques</name>
    </author>
  <feedburner:origLink>http://www.railsjedi.com/posts/35-Javascript-Enabled-or-Bust</feedburner:origLink></entry>
  <entry>
    <id>tag:www.railsjedi.com,2005:Post/34</id>
    <published>2008-04-14T19:02:28+00:00</published>
    <updated>2008-04-14T19:28:46+00:00</updated>
    <link type="text/html" href="http://feedproxy.google.com/~r/RailsJedi/~3/L31p4Jd8ji8/34-OpenSourceRails-com-now-live" rel="alternate" />
    <title>OpenSourceRails.com now live</title>
    <content type="html">&lt;p&gt;With the amazing open source apps that are being released almost every week in the Rails community, I thought we might need a place to track them all and keep everyone up to date. So as of today, I&amp;#8217;m announcing &lt;a href="http://www.opensourcerails.com"&gt;opensourcerails.com&lt;/a&gt;, a gallery of sorts for Open Source Ruby on Rails applications.&lt;/p&gt;


	&lt;p&gt;Here&amp;#8217;s a rundown of the initial features:&lt;/p&gt;



        &lt;p&gt;
          &lt;a href="http://s3.amazonaws.com:/blogcircle.production/image_attachments/208/Open_Source_Rails-1.png" target="_blank"&gt;
            &lt;img src="http://s3.amazonaws.com:/blogcircle.production/image_attachments/208/Open_Source_Rails-1_display.png" style="float:left;margin-right:10px;" /&gt;
          &lt;/a&gt;
          The OpenSourceRails homepage shows the latest applications promoted to the front page, with the ability to bookmark, rate, and download applications It also provides basic tagging and search capabilities.
          
          &lt;br style="clear:both"/&gt;
        &lt;/p&gt;
      



        &lt;p&gt;
          &lt;a href="http://s3.amazonaws.com:/blogcircle.production/image_attachments/228/pic1.png" target="_blank"&gt;
            &lt;img src="http://s3.amazonaws.com:/blogcircle.production/image_attachments/228/pic1_display.png" style="float:left;margin-right:10px;" /&gt;
          &lt;/a&gt;
          The Application detail page shows you the details of the project along with screenshots, file downloads, and demo links. Any member can submit their own screenshots, files, and links for any application.
          
          &lt;br style="clear:both"/&gt;
        &lt;/p&gt;
      



        &lt;p&gt;
          &lt;a href="http://s3.amazonaws.com:/blogcircle.production/image_attachments/223/Open_Source_Rails-2.png" target="_blank"&gt;
            &lt;img src="http://s3.amazonaws.com:/blogcircle.production/image_attachments/223/Open_Source_Rails-2_display.png" style="float:left;margin-right:10px;" /&gt;
          &lt;/a&gt;
          Submitting an application will bring you to a blank project page where you can set its details, upload screenshots, files, and links for that project. Once its ready, you can then submit it to the gallery where it will show up on the &amp;#8220;Upcoming&amp;#8221; list. After being approved and vetted by the community, it will then be promoted to the front page.
          
          &lt;br style="clear:both"/&gt;
        &lt;/p&gt;
      


	&lt;p&gt;Lots more features coming over the next couple weeks (like OpenID). Subscribe to the site&amp;#8217;s &lt;span class="caps"&gt;RSS&lt;/span&gt; to get the latest projects as the bulk of the initial population occurs over the next few days.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.opensourcerails.com"&gt;View OpenSourceRails.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RailsJedi/~4/L31p4Jd8ji8" height="1" width="1"/&gt;</content>
    <author>
      <name>jacques</name>
    </author>
  <feedburner:origLink>http://www.railsjedi.com/posts/34-OpenSourceRails-com-now-live</feedburner:origLink></entry>
  <entry>
    <id>tag:www.railsjedi.com,2005:Post/24</id>
    <published>2008-04-06T22:32:52+00:00</published>
    <updated>2008-04-07T21:21:58+00:00</updated>
    <link type="text/html" href="http://feedproxy.google.com/~r/RailsJedi/~3/Aft6nYQEB44/24-Firebug-1-2-Excitement" rel="alternate" />
    <title>Firebug 1.2 Excitement</title>
    <content type="html">&lt;p&gt;It goes without saying that every web developer uses and loves &lt;a href="http://www.getfirebug.com"&gt;Firebug&lt;/a&gt;. For me, it&amp;#8217;s pretty much single handedly made web development tolerable again.&lt;/p&gt;


	&lt;p&gt;I found out a few days ago that Firefox 3 beta 5 &lt;a href="http://www.getfirebug.com/blog/2008/04/06/firebug-12-console-implementation/"&gt;broke&lt;/a&gt; Firebug 1.1. I wasn&amp;#8217;t going to be able to live with this, and didn&amp;#8217;t want to downgrade back to Beta4 just yet, so I went searching for a fix. This eventually led me to the Firebug 1.2 alpha. And it just so happens that it&amp;#8217;s awesome. 1.2 seems to fix nearly every one of my complaints with Firebug.&lt;/p&gt;


	&lt;p style="font-size: 15px;"&gt;&lt;a href="http://www.getfirebug.com/releases/"&gt;&lt;img src="http://www.railsjedi.com/images/download.png" title="Download" alt="Download" /&gt;&lt;/a&gt; &lt;strong&gt;&lt;a href="http://www.getfirebug.com/releases/"&gt;Download Firebug 1.2 alpha&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Here are the significant improvements I&amp;#8217;ve seen so far:&lt;/p&gt;


	&lt;h3&gt;Open in External Editor&lt;/h3&gt;



        &lt;p&gt;
          &lt;a href="http://s3.amazonaws.com:/blogcircle.production/image_attachments/86/ExternalEditors.png" target="_blank"&gt;
            &lt;img src="http://s3.amazonaws.com:/blogcircle.production/image_attachments/86/ExternalEditors_display.png" style="float:left;margin-right:10px;" /&gt;
          &lt;/a&gt;
          For me, this one is huge. Previously if you were copy/pasting code and css from Firebug you ended up with a mess of line numbers. p. &lt;br /&gt;&lt;br /&gt;This way you can set your external editor to textmate to pop open the javascript or css from any page in no time.
          
          &lt;br style="clear:both"/&gt;
        &lt;/p&gt;
      


	&lt;h3&gt;JQuery Selector Display&lt;/h3&gt;



        &lt;p&gt;
          &lt;a href="http://s3.amazonaws.com:/blogcircle.production/image_attachments/96/Selector_Highlighting.png" target="_blank"&gt;
            &lt;img src="http://s3.amazonaws.com:/blogcircle.production/image_attachments/96/Selector_Highlighting_display.png" style="float:left;margin-right:10px;" /&gt;
          &lt;/a&gt;
          JQuery selector output now displays correctly again, and you can hover directly over the elements to see it outlined in the browser. It used to work in Prototype but not JQuery. Now it works in both.
          
          &lt;br style="clear:both"/&gt;
        &lt;/p&gt;
      


	&lt;h3&gt;Function Display in Logger&lt;/h3&gt;



        &lt;p&gt;
          &lt;a href="http://s3.amazonaws.com:/blogcircle.production/image_attachments/91/FunctionDisplay.png" target="_blank"&gt;
            &lt;img src="http://s3.amazonaws.com:/blogcircle.production/image_attachments/91/FunctionDisplay_display.png" style="float:left;margin-right:10px;" /&gt;
          &lt;/a&gt;
          Previously in Firebug, if you outputted a function, it would just display as &amp;#8220;function()&amp;#8221;. Now firebug will actually show the function source code.
          
          &lt;br style="clear:both"/&gt;
        &lt;/p&gt;
      


	&lt;h3&gt;Additional Thoughts&lt;/h3&gt;


	&lt;p&gt;If there other killer features I missed please let me know in the comments.&lt;/p&gt;


	&lt;p&gt;Also keep in mind Firebug isn&amp;#8217;t just a debugging tool. It&amp;#8217;s also the most effective learning tool out there for front-end web development.  When doing normal site browsing, you should keep firebug enabled and on hand. When you see a design or script you really like, open up the code in firebug and hack on it a bit. In 1 or 2 months, this will likely give you more knowledge of real world web development skills than reading any number of books on the subject.&lt;/p&gt;


	&lt;p&gt;So bring on the beta already! Help the project by reporting any bugs you find to the &lt;a href="http://code.google.com/p/fbug/"&gt;Firebug Google Code&lt;/a&gt; project.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/RailsJedi/~4/Aft6nYQEB44" height="1" width="1"/&gt;</content>
    <author>
      <name>jacques</name>
    </author>
  <feedburner:origLink>http://www.railsjedi.com/posts/24-Firebug-1-2-Excitement</feedburner:origLink></entry>
</feed>
