Bad Bad Monkey (patch) 6

Ruby, and Rails let you extend classes. This is called monkeypatching. Rails is built using that ability, It’s pretty important. I’ve used it on and off for years. You have to be careful when you use it, very powerful.
I just got done debugging some bad Monkeypatching, In my opionion you should NEVER mess with activerecord unless you really really know what you are doing. In this case the developer replaced the save method, which I didn’t think was good. What if the boolean class True was set to return nil?. Bugs in this type of code are impossible to find.
class Boolean
def True
nil
end
end