Helps
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.
Interestings
Rspec and_call_original
New with Rspec 2.12, rspec mocks now have the ability to call through to the original implementation.
example:
banana.should_receive(:split).and_call_original
asserts that banana.split was called, and also executes banana.split
Don’t commit Gemfile.lock in your gems
See http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
tl;dr
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
http://aws.typepad.com/aws/2010/10/keeping-customers-happy-another-new-elastic-load-balancer-feature.html
About the Author