For a while, I have not understood what rspec test doubles do, or why you’d use them. I recently came to understand their usage and function, and thought I’d share.
I’ve been fixing up the codebase of a rails app for a few months now. It was written by some smart folks, so I wanted to share some of the philosophies and design patterns they utilized.
I don’t know why I didn’t do this sooner.
An issue I ran into when using the
pjax_rails gem, and useful advice if you need additional content delivered besides the
A great tool for git users
Steve didn’t like the status bar and didn’t see the need for it. “Who looks at URLs when you hover your mouse over a link?” He thought it was just too geeky.
Important to remember that how you approach something is not the same way others approach it. Good software has an adjustable grip, whereas poor software assumes all users are the same.
Perhaps obvious advice, but still struck me.
Documenting my experience installing nokogiri 1.6.1 with ruby 2.1.1 on OS X mavericks
Henry’s Turkey Service, which was paid directly by the plant for the men’s labor, was capitalizing on a section of the Fair Labor Standards Act of 1938 that allows certified employers to pay a subminimum wage to workers with a disability , based on their productivity when compared with that of nondisabled workers.
The company also deducted hundreds of dollars from the men’s earnings and Social Security benefits for room and board — and “in-kind” services, like bowling, dining out and annual visits to an amusement park. The rest was deposited in individual bank accounts in Goldthwaite that the company dipped into to pay for incidentals and medical costs, since the men had no health insurance or Medicaid in Iowa.
Will never forget that this not only happened in America and not a third world country; but in our society, in our time.