05.17.08 - 11:36pm
I just brought a new project into the world of autotest. I’m not using the Leopard FSEvents “fix” because it’s not necessary (note the sleep and add_exception calls below). I am using the fun and helpful sound plugin, but not the playlist version of that plugin. Here’s my .autotest file.
Category: testing, ruby, ruby on rails, Mac, tools | Tags: | 1 Comment »
05.16.08 - 04:42pm
I’ve seen a few Rake tasks for Rcov that work OK, but which fail in an interesting way (if you care about coverage): they give your coverage metrics an unexpected boost if you have 0% coverage in one or more source files.
Huh? Exactly. If you have 500 source files, and your test suite only requires […]
Category: coverage, testing, ruby, ruby on rails, tools, Uncategorized | Tags: | Be the First to Comment »
05.16.08 - 04:24pm
Ruby’s Kernel.require method will re-require the same source file if you pass it differing arguments that point to the same file. It doesn’t use File.expand_path to make sure it hasn’t already loaded the same file before. This can cause problems if you’re using constants or doing one-time initialization in a source file that’s getting loaded […]
Category: ruby, ruby on rails, Uncategorized | Tags: | 1 Comment »
04.14.08 - 02:30pm
The Ruby on Rails story is usually presented to the new developer as a wonderful break from tradition that makes a developer’s life so much better than the frameworks of the past. The clattering of skeletons in the closet you’re hearing? Well, that’s because it makes the sysadmin’s life much worse than PHP or Java. […]
Category: java, php, ruby, ruby on rails, servers, architecture | Tags: | 26 Comments »
01.24.08 - 02:00pm
Just a quick note: acts_as_tsearch needs some guidance to work with PostgreSQL 8.3 due to changes in tsearch2 integration.
Category: ruby, ruby on rails, postgresql, sql, databases | Tags: | 1 Comment »