Skip to content

Category Archives: Programming

Validating Rails boolean fields in RSpec


So I’ve working on a Rails app recently, using RSpec for Test-Driven Development, and I ran into what I think is a bit of a gotcha, so I thought I’d write up a post on the matter. One of my models has a Boolean field, and like the other fields, I was trying to validate […]

The case of the invisible bullet


Well, I promised some posts on gotchas I’ve encountered when making my first game. So here’s the first post in that series. The game I’m making is a type of side-scrolling shooter. I have the “ship” being rendered using an image file, but I felt that it would be better to just draw a small […]