Apr 15, 2010 posted by Matt

April Ruby Roundup

It’s time for the April edition of the Ruby Roundup. Global Rails 3 beta 3 is out with a release candidate soon to follow. Heroku add Platform Stacks in preparation for Rails 3. Includes 3 versions of Ruby and two …

Tags: , ,

Mar 10, 2010 posted by Matt

March Ruby Roundup

These are the link notes for the March Ruby Roundup given at Indy.rb. If you didn’t see the presentation, it’s probably not a lot of use. global Bundler – http://github.com/carlhuda/bundler Spoke – http://github.com/josh/spoke Rework – on Amazon yahuda too busy …

Tags: , ,

Mar 4, 2010 posted by Joel

&[:array, :toproc, :ftw]

About a week ago, I finally decided to clear something out of the EB complaint stream that has been papercutting me for ~10 months. You’ve probably seen the great shortcut added by activesupport (and now a part of ruby): Foo.all.map(&:id). …

Tags: ,

Feb 26, 2010 posted by Matt

Twitter Powered Self-Improvement

Complaining to /dev/null Complaining is the cornerstone of good programming. I mean, can you believe the features that are missing from this plugin? Or your crappy environment problems? Or how little you knew 6 months ago? I mean, come on. …

Tags: ,

Feb 26, 2010 posted by Matt

A Quick Tip For Tweeting Faster

If you tweet a lot and you use Tweetie, here’s a quick tip to make things faster. Set the global shortcut for “new tweet” to control-option-command-space. I know that looks like a lot of keys, but try placing your hands …

Tags: ,

Feb 19, 2010 posted by Jason

Fun with Object#send…

And by fun, I mean unexpected detours! Background If you’re familiar with ruby you’re probably familiar with the send method. It’s great for generating method calls dynamically, or calling private methods from outside a particular object. I’ve been having a …

Tags: ,

Feb 8, 2010 posted by Matt

We can’t afford information.gov

I caught Mark Drapeau’s piece on the new data.gov website (thanks to Sarah Evans). He points out, correctly, that what most people really want is information. Where he misses a step is in assuming that the government should be making …

Tags:

Feb 3, 2010 posted by Joel

Big Dots + Redgreen for the Win

Redgreen is a gem that colours your test output in very useful ways. You should use it. It makes your test output look like this (though hopefully it’s all green): So, that’s awesome. Makes it much easier to figure out …

Tags: , ,

Feb 2, 2010 posted by Joel

Make Slow Test::Unit Tests Stand Out

Sometimes you have slow unit tests. It sucks, and they probably shouldn’t be slow, but you have them. I wanted a way to differentiate any test that took longer than a second to run on the command line. A little …

Tags: , ,

Jan 31, 2010 posted by Joel

Cucumber-style Tagging for Test::Unit Tests

So, you love yourself some cucumber. But you also love unit testing. Some would argue that every time you make a change in a unit test, you should run your entire suite. But sometimes that isn’t what you want. I …

Tags: ,