-
recent posts
recent comments
archives
- April 2010 (1)
- March 2010 (2)
- February 2010 (6)
- January 2010 (4)
- September 2009 (1)
- June 2009 (1)
- May 2009 (4)
- April 2009 (3)
- March 2009 (2)
- February 2009 (3)
- June 2008 (1)
- October 2007 (3)
- August 2007 (6)
- July 2007 (3)
- May 2007 (5)
categories
- Blog (1)
- Dev Environment (4)
- Musings (14)
- Product (2)
- Rails (12)
- Ruby (9)
- Scripting (1)
- Testing (2)
- Uncategorized (1)
subscribe / meta
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 …
- Posted in Ruby
- Leave a comment
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 …
- Posted in Ruby
- 5 Comments
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). …
- Posted in Ruby
- Leave a comment
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. …
- Posted in Musings
- Leave a comment
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 …
- Posted in Musings
- Leave a comment
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 …
- Posted in Ruby
- 3 Comments
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: musings
- Posted in Musings
- 2 Comments
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: dev environment, ruby, Testing
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: dev environment, ruby, Testing
- Posted in Ruby
- 5 Comments
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 …
- Posted in Ruby
- Leave a comment
- back
- next