Test driven development: take a step back

When you do Ruby on Rails development for a living, Test Driven Development is a given. I would be very uncomfortable without tests, most likely I couldn’t do a job at all. So far, so good. But RoR, being the hottest web framework there is, draws a very “alpha geek” crowd. You know, people who always flock to the latest and greatest thing. You see, testing is out. Speccing is in. And I don’t like it.

Continue reading

Keeping an eye on Validatable

Stumbled across this when I was researching the validation order in Active Record. It looks like validations in Rails will be refactored in a hefty way some time in the 2.x branch. Good news all around, this means a more modular OO setup and reusable validations on non-active record classes. It even looks like this change will be backwards compatible with your every day validates_presence_of macros.