Well, ok, it’s not that Yui, but now that I’ve got your attention, I’ve made a ruby wrapper for the YUI JavaScript compressor. What’s the point in that you say. Well, I’d ideally like to keep my javascript like I keep my Sass/CSS. The source I work on in one place, the ‘compiled’ stuff in [...]
Continue Reading...
DM Remixables 0.9.7 RC 2 is out. Includes clean accessor name creation, more specs, and the ability to assign methods from the Remixable to generated and remixing classes. Woot, woot. See the specs and readme for examples.
Continue Reading...
Even when I’m panicking I’m a fan of datamapper. I like how clean it generally makes my code, but I do notice that I tend to have the same queries cropping up from time to time either in the same application or in other apps using my model library. This just wasn’t dry enough for [...]
Continue Reading...
Read about it on GitHub, (who’s formatting didn’t bastardize it, as much).
Continue Reading...
So I found a pretty massive flaw in DataMapper (ticket @ lighthouse). Whenever using the :fields attribute when doing Resource#first or Resource#all a crap load (techincally speaking) of queries are fired at MySQL. I put a ticket in and a lot of information and links to some pasties with examples (see lighthouse). I don’t have [...]
Continue Reading...
WarningShot is a project I have been working on for quiet a while and I now feel that it is stable enough to be available to the masses.
WarningShot is a dependency resolution framework with the goal of making staging machines for software as simple as possible, so developers can focus on developing. Another goal of [...]
Continue Reading...
LogGobbler is pretty simple pseudo REST logging service. It’s built on top of merb/datamapper and includes a client for logging activity. LogGobbler allows you to avoid disk I/O and store all of your logs in groups (or application groups) on a remote server.
LogGobbler is pretty quick, it uses merbs ‘run_later’ to just acknowledge [...]
Continue Reading...
One of my favorite things about Ruby is mixins. I love the pseudo multiple inheritance it provides. One thing that is frustrating to me though when working on developing back-ends is the amount of un-DRY code I am forced to create when working with the database.
For example, comments. Look at sites like MySpace, Facebook, and [...]
Continue Reading...