AR/PG silently not saving commits under heavy load
- People wondered if the transaction was getting rolled back, etc, everything seemed normal, but about 1 in 5 times the record wouldn’t write after an update_attributes.
Slanger for Pusher testing?
- Nobody has used Slanger.
New with Rspec 2.12, rspec mocks now have the ability to call through to the original implementation.
asserts that banana.split was called, and also executes banana.split
Don’t commit Gemfile.lock in your gems
ACCORDING TO YEHUDA … if you are maintaining a GEM
git rm –cached Gemfile.lock
echo “Gemfile.lock” >> .gitignore
git add .gitignore
git ci -m “Remove Gemfile.lock — cf. http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gem”
(this advice may be controversial)
AWS ELB overwrites X-Forwarded-Proto and X-Forwarded-Port
About the Author