Read my latest article: Ruby 1.8.7 on MacPorts causing some problems (posted Fri, 20 Jun 2008 21:11:00 GMT)

Remember When? 8

Posted by Robby Russell Fri, 02 Feb 2007 06:49:00 GMT

I was looking through some old code from over two years ago, when I was playing with my first Rails applications. I noticed this hidden file in the public/ directory, called .htaccess.

Do you remember the good ‘ole days?


RewriteRule ^(.*)$ /dispatch.cgi?$1 [QSA,L]

I remember when we at PLANET ARGON first starting hosting Ruby on Rails applications (two years ago now!) and we had to continually explain to people that running on FastCGI was going to significantly improve speed over their default CGI deployment. This was one of the first FAQs that we posted on our website.

...oh how we’ve come a long way.

Before you know it, we’ll be on IRC and talking about the good ‘ole Rails days… like we do about the BBS days. ;-)

Do you have a remember when story related to Rails?

Subscribe to my RSS feed Enjoying the content? Be sure to subscribe to my RSS feed.
Comments

Leave a response

  1. Avatar
    rick Fri, 02 Feb 2007 08:31:35 GMT
    • Using mod rewrite for custom routes before Routing existed.
    • Hobbling together my own svn deployment scripts before Capistrano.
    • Trying to remember the various render_* methods and the correct order of arguments for find_first and find_all.
    • Wondering WTF #inject does
    • habtm with extra attributes
    • Piggy-backed AR queries
    • distributing custom diffs with my vendor/rails deployments before plugins

    It may have been ground breaking at the time, but old Rails kind of sucked :)

  2. Avatar
    Ruby Licious Fri, 02 Feb 2007 08:40:35 GMT

    I rather forget all the deploymentwoes before mongrel came along ;)

  3. Avatar
    Dave Woodward Fri, 02 Feb 2007 09:34:36 GMT
    • Actually writing javascript by hand in the views
    • Reading the source of prototype to learn how to use it
    • Having a “live” controller for AJAX requests
    • Components (yuch)
    • killall “project_name/public/dispatch.fcgi”
    • twiddling with Apache FCGI settings so I wouldn’t max out the tiny amount of RAM on my VPS
    • db changes before migrations
    • @content_for_layout & @params
  4. Avatar
    Rodrigo Kochenburger Fri, 02 Feb 2007 11:10:42 GMT

    Definitely using mod_rewrite, before native routes support, sucked hehe

    I also remember me trying to optimize the queries before Eager Loading came out and creating pseudo-plugins in the lib/ directory….. It was a great time :)

  5. Avatar
    Robby Russell Fri, 02 Feb 2007 13:56:59 GMT

    Rick,

    Using mod rewrite for custom routes before Routing existed.

    RubyURL.com is still doing this as I haven’t made any modifications in about 20 months. New version coming soon when Amy and I finish the new version.

    Components (yuch)

    Hah! I almost forgot…

    twiddling with Apache FCGI settings so I wouldn’t max out the tiny amount of RAM on my VPS

    I still don’t know what all of those settings in the mod_fastcgi.conf did… but it seemed to work. :-)

    I remembered a few more.

    • Cleaning up tens of thousands of session files in /tmp
    • Being the first and only person using PostgreSQL for Typo :-)
      • Projects have different schema files for mysql, postgresql, sqlite
    • When Lighttpd + FastCGI sounded like an awesome idea and the new standard…
    • AR has_many :dependent only accepted true or false and it drove me nuts…

    It’s great to see how quickly the Rails core team and community has helped shape and reshape the framework. These areas of pain continue to be resolved with more elegant solutions.

    I wonder what we’ll be talking about in a few years when someone says, “I remember when…”...

    Hopefully… “I remember when I was still using Typo.” ;-)

  6. Avatar
    rick Fri, 02 Feb 2007 15:16:23 GMT
    • Being the first and only typo user on MS SQL :)
    • Killer zombie fcgi processes on textdrive
  7. Avatar
    Gilgamesh Sat, 03 Feb 2007 23:41:01 GMT
    
    require 'article'
    class ArticlesController < ApplicationController
      model :article
    end
    
    
    class BloggerService < ActionWebService::Base
      web_service_api BloggerApi
    end
    
  8. Avatar
    Danger Thu, 08 Feb 2007 18:24:50 GMT

    I remember feeling so happy that components were going to solve all my problems :-)

Share your thoughts... (really...I want to hear them)

Comments