Archive for the 'Blogroll' Category

The RSpec post (including an important tip on shared example groups)

March 27th, 2008

So in my Rails apps lately I’ve been using the hell out of some RSpec. I have to say that it’s making me a better, more methodical coder. It’s not just allowing me to define my app in terms of expected behaviors and providing the well understood regression testing capabilities of any testing [...]

Using attachment_fu with :storage => :db_file

March 23rd, 2008

So I recently got to use Rick Olson’s attachment_fu in a Rails application I’m working on, and it is pretty awesome. It takes a lot of the hassle out of managing files that you might need to upload such as images, and even has the capability of doing thumbnails on the fly. Attachment_fu [...]

GitHub: Anarchy for Programmers

March 11th, 2008

I’m at the CVREG meeting watching Jon give his presentation on GitHub, the new awesomeness that everybody (nerdy) is talking about. I’m still learning about it and figuring out how / why it’s different than Subversion, but look for a personal project on there soon.
git is a source code management system designed to make [...]

It’s 11:00 pm; do you know where your model methods are?

February 23rd, 2008

So the other day I was implementing what I considered a simple Rails association helper to make my life easier:
has_many :unapproved_posts,
         :class_name => “Post”,
         :finder_sql => “SELECT posts.* from posts ” +
                        ”INNER JOIN users ON posts.user_id = users.id ” +
                        ”INNER JOIN groups ON users.group_id = groups.id ” +
                        ’WHERE (groups.id = #{id}) and ‘ +
                        ’(posts.approved is [...]

New Frontiers in Ruby Web Applications

February 6th, 2008

So as somebody who has experienced their share of headaches deploying Rails apps (and ended up learning how to provision a VPS from scratch as a result) I’m interested in the questions Peter Cooper of Ruby Inside asks:

Is there / why isn’t there a version of mod_ruby that doesn’t have the “class sharing” issue? What [...]

Two tired girls

January 20th, 2008

Just had to post this because it was too perfect a shot not to.

The busyness won’t last; stay tuned for real blogging.

A single press for all my words

December 27th, 2007

So one of the big changes I made on my new slice is to centralize my WordPress blogs. I run three WordPress sites, and having to upload a whole new codebase three times while being careful not to overwrite my customizations, plugins, themes, etc. was beginning to grate. It would be better to [...]

Ruby 1.9 released!

December 27th, 2007

Praise be to jeebus - a development release of Ruby 1.9.0 was announced on ruby-lang.org Christmas Day (nice timing for the western world). I guess it’s too early to install on my new slice, and probably better to wait for the package anyway. Nevertheless, at RubyConf this year we got a sneak peak [...]

Welcome to my new slice

December 27th, 2007

Since I’ve been on SliceHost I’ve learned a lot about server management. I’ve also made a lot of mistakes and generally made a mess out of that slice. So I got a new one and am moving everything over. This is the first post from the new slice. If you have [...]

2nd Annual McWeiland Chili Cookoff Photo Montage

November 5th, 2007

And first YouTube upload ever. Tasha did the video on her new MacBook - like that “Ken Burns” effect? Enjoy!