Archive for the ‘Object-Oriented Programming’ Category

Ruby Procs: Part I

Thursday, August 30th, 2007 Posted in Object-Oriented Programming, Ruby | No Comments »

In high school, I had a computer programming teacher who described variables as 'mailboxes', with values being 'postcards'. In my four years of college, I don't think I've ever heard that term or comparison again - though, in retrospect, I ...

Rails Controller inheritance and Modules

Tuesday, August 28th, 2007 Posted in ActionController, Object-Oriented Programming | No Comments »

The topic of Controller inheritance may be straightforward for more advanced developers, but it isn't completely straightforward for people new to Rails or the Ruby language in general. Rails Controllers generally come in the following flavor: class SomeController < ApplicationController ...