Version 0.3.0 of sinatra-bundles is out and powering the blog for a week or so. It’s cold out there, so bundle up: % gem install sinatra-bundles require 'sinatra/bundles' Version 0.3.0 has a new feature and a slight API change. Custom path prefixes Yeah, I know, not everybody is as awesome as I am with their stylesheets and javascript files in the stylesheets and javascripts directories, but now you can control where they live on the disk. doc...
Verbose Logging
software development with some really amazing hairsinatra-bundles 0.2.0 is out
I pushed up a new version of sinatra-bundles and it’s running smoothly on my blog here, so I best tell you about it. First, get your bundle on: % gem install sinatra-bundles require 'sinatra/bundles' Version 0.2.0 has a couple fun things. The sinatra dependency is bumped up to 1.0, since it’s out (yay!), it’s more awesome, and I’m not quite sure if the bug that prevented me from using earlier sinatra was fixed or not in the 0.9.6 release. etag...
Read the full article
My Watch List, Into 2010
Lots of interesting things are afoot, and I try to keep track of them. Here’s what I’m watching. Rails 3 Lots of new changes are coming with Rails 3, and it’s pretty exciting. I wrote about some of the cool ones here. Rails is shaping up to be faster, more modular, and generally better and easier to work with. With all the smart people working on it, you don’t have to look very hard to realize this is going to be a big release, and is only goi...
Read the full article
Proper rack middleware ordering
It occurred to me the other day, that I should take a look at the middleware I use on this blog. I don’t know what it was. My spidey senses just tingled. Boy was I right. I totally had it backwards. Rack middleware is a fantastic thing. It’s like a little encapsulated rack application that you can use to filter, process, or otherwise mess with responses. There is middleware to add etags, configure caching, catch and log exceptions, deal with c...
Read the full article
Get your Wordpress out of my Blogging Software
Hopefully you didn’t notice much, except the speed increase, but my blog is no longer on the behemoth that is Wordpress. While Wordpress served me well for quite some time on my other blog it always kind of bugged me. Well no more! I took a couple days (basically 2 full days and 2 evenings) and wrote my own little blogging engine from scratch. You can find it on github and get forking if you so choose. What I used: ruby and sinatra They are pr...
Read the full article