softwareas.com
Ruby/Rails: Overriding NilClass
Rails uses “whiny nil”, which means if you call a method on an object that happens to be nil (null), you get an exception. This is good. But with strings in a web app (in any language),…