Dear Abby Column — May 22, 1981
DEAR ABBY: Two men who claim to be father and adopted son just bought an old mansion across the street and fixed it up. We notice a very suspicious mixture of company coming and going at all hours — blacks, whites, Orientals, women who look like men and men who look like women. We even saw a nun and a priest go inside.
People come in everything from motorcycles to Cadillacs.
This has always been considered one of the finest sections of San Francisco, and these weirdos are giving it a bad name. How can we improve the neighborhood?
— NOB HILL RESIDENTS
DEAR RESIDENTS: You could move.
(Source: news.google.com)
I’m currently building a Rails app that will only act as an API client to a fat javascript client and wanted a way to test my responses in RSpec. So I decided to write a custom RSpec matcher:
It takes advantage of the Rails JSON parsing and its hash extensions Hash#with_indifferent_access and Hash#diff to turn both values to a Ruby hash and then check to see if there’s any differences between the two.