I graduated with the equivalent of a minor in CS. When I started coding for an web-based gaming start-up in 2007, it was mostly irrelevant. You don't need a CS degree to learn Ruby on Rails, nor is it necessarily useful (beyond your basic intro courses) to have taken CS courses.
Flash-forward a year, after we raised our seed round. Our online game had grown in complexity quite a bit, and we found ourselves having to deal with things like complex image rendering, AI, and pathfinding. While it's possible to get a decent grasp of these topics through Google and O'Reilly books, it's definitely an order of magnitude more difficult than figuring out a new web framework. As mentioned before, I only have a minor in CS so my exposure to these topics was minimal, and there were definitely nights where I found myself wishing I had taken another AI or advanced algorithms course.