When my grandmother died about two and a half years ago, I inherited a few small cacti that she had had around her flat. Yesterday, one of them flowered for the first time.
I spent some time on Friday trying to get to the bottom of a particularly strange effect in Ruby. Changing completely unrelated lines of code elsewhere in the project would change the behaviour of YAML and cause a test to fail.
I’ve been getting a lot of emails like this lately, sent on behalf of friends and acquaintances:
It turns out that it’s really easy to create tables and models dynamically within a Rails unit test. It’s a useful technique for reducing dependencies when testing.
I’ve been responsible for enough technocentric, user-hostile interfaces in my time to know one when I see one, and RubyGems’s
gemutility is a classic of the genre: it’s influenced by implementation details rather than end-user usage patterns, and it manages to frustrate me every time I have to deal with it. Here’s a real-life transcript that demonstrates some of the issues:
Six colours they want to ban.