Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Try using Mongo

Rajan Agaskar
Wednesday, November 14, 2012

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

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Rajan Agaskar

Rajan Agaskar
San Francisco

Recent Posts

  • Restart post-migration
  • Capybara 2.0 is out.
  • New Rails, Ruby patches. Download them.
Subscribe to Rajan's Feed

Author Topics

  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >