Testing ActiveRecord in isolation
Testing ActiveRecord without loading Rails isn't difficult. Let me show you how to get started.
Testing ActiveRecord without loading Rails isn't difficult. Let me show you how to get started.
Here are some tips for using the groups functionality in Bundler.
Did you know about this sweat little trick to test arrays in RSpec?
Giving some examples of how to implement services, as known from Domain Driven Design, in Ruby.
On using classes inside helpers, to organize your otherwise messy helper code
A summary of a presentation I gave about what Ruby programmers value in their code.
There are a lot funky hook methods in Ruby. Here are three of them you don't normally see.
Although it's already in Ruby itself, this is how `Enumerable#group_by` works.
A quick workaround for testing controller actions that render a PDF with Prawn
An (now abandoned) plugin for making seed data. Use `rake db:seed` now.
Writing YAML files in Ruby 1.8 can be a hassle when supporting UTF-8. Here's how I do it.
Nested forms are a bitch. Here are some tips to get it working with Javascript
Rails 2.2 doesn't use I18n for form labels. This plugin corrects that
A small plugin for translating just a few attributes per record
This is how ActiveRecord's I18n integration works in Rails 2.2
After trying Haml for a month, I still think it's the best thing since sliced bread
I made a Vim syntax file for RSpec Story Runner (now known as Cucumber)
Helping you do some stuff in selenium in the RSpec Story Runner.
I don't have anymore at the moment. Be sure to subscribe to the RSS feed, to read up on my latest adventures with Ruby! You can also follow me on twitter!