For years, the most common way to provide test data for automated tests has been fixtures – hard-coded values, usually stored in text files. For example, here’s some YAML-formatted data for a city model object: – model: city fields: id: 1 name: Los...
Developers using JavaScript and HTML to build rich web apps are creating a plethora of tools to compartmentalize the common and organizational aspects of coding. This burst of open source energy has led to new categories of libraries like the MV* frameworks, and...
Mention Rails, and you will often believe you are debating White Castle burgers. You either love or hate it with little room for anything in between. DHH created a framework where you generally have to play by his rules and if you disagree with those rules, you might...
The intent of this article is to approach development and debugging of Ruby on Rails applications from the perspetive of a C++ developer. In Part I I discussed some of the fundamental differences between Ruby on Rails and C++ development. I started a simple "blog...
Quick background If you already know why C++ and Ruby on Rails are fundamentally different and just want to see the example, you can skip to The Example. I’ve been developing software for many years but, for the most part, have stayed in the C++ world. I made...