Read my latest article: 8 things I look for in a Ruby on Rails app (posted Thu, 06 Jul 2017 16:59:00 GMT)

Testing Typo on Lighttpd

Posted by Sat, 18 Jun 2005 17:54:00 GMT

did my xml stop working? doesn’t seem to be updating…

edit: no, apparently with lighttpd, I needed to add a few rewrites. It looks like Typo made some changes to their rss paths a while ago (after planet rubyonrails and other places started using my rss feed for syndication). So, I added the following to my lighttpd.conf to allow those to still work.

url.rewrite = (
    "^/xml/rss/feed.xml$" => "/xml/rss/feed",
    "^/xml/atom/feed.xml$" => "/xml/atom/feed" )

Okay, after taking a minute to test this. I have now simplified this to:

url.rewrite = (
    "^/xml/(.*)/feed.xml$" => "/xml/$1/feed")

My Typo powered blog running on PostgreSQL and Lighttpd (now)

Posted by Sat, 18 Jun 2005 12:05:00 GMT

Finally, was able to take a few minutes and got my blog running on lighttpd. Testing out a few configuration options before moving a few clients to it.

Apache w/fastcgi has been pretty stable for the most part. Initially through lighttpd, I’m not noticing a huge difference in speed. I haven’t tried to run any benchmarks yet… perhaps later.

In other news, I have been busy working on a few client projects, writing, and my gf and I finally got a dog. His name is Nigel. We adopted him a few days ago. :-)

RubyURL hits 1000 URLs!

Posted by Fri, 10 Jun 2005 17:41:30 GMT

It wasn’t that long ago that I spent an evening trying to build a quick and simple Rails app. I built RubyURL that night.
rubyurl=# SELECT count(id) FROM rubyurls ;
(1 row)


Don’t forget to check out ShortURL for rubyurl usage. :-)

Oddly enough, this is #1000:

Storing Rails ERb templates in the database, continued

Posted by Fri, 10 Jun 2005 14:43:48 GMT

In edge-rails, there are new ways of rendering templates.

In my previous posts, I showed how to render a template stored in the database to a variable for usage in generating a PDF. In edge-rails, this is now solved with:

  letter = render_string_to_string(letter_template.body)

Now becomes:

  letter = render(:inline => letter_template.body)

However, until the next release of Rails is out, unless you’re using Edge Rails, you can use my hack in the meantime.

Ajax on Rails

Posted by Thu, 09 Jun 2005 22:09:48 GMT

Curt Hibbs has written another Rails article for ONLamp.

Ajax on Rails

Rails versus PHP

Posted by Wed, 08 Jun 2005 02:16:23 GMT

As Rails has been keeping me busier than my PHP work load (I have touched ~5-10 lines of PHP in the last month and a half). I found myself working on some organization and cleaning up around the office and on my workstations. I just officially unsubscribed from the PHP mailing lists.

Older posts: 1 2 3 4