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

Monthly Archives: December 2008

MERB

Tuesday, December 23, 2008 | Run time: 56:08

Yehuda Katz discusses MERB, the Ruby application development framework sponsored by Engine Yard.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Javascript Testing

Tuesday, December 23, 2008 | Run time: 50:59

Nathan Sobo, Brian Takita, and Nick Kallen discuss various testing methods for JavaScript, including JSSpec and JSpec.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Cooper Panel: Agile and Interaction Design

Tuesday, December 23, 2008 | Run time: 63:36

Alan Cooper, joined by three colleagues from his renowned design firm of the same name, discusses the challenges faced and lessons learned from their forays into using a more agile process for design consulting. Questions from the audience help drive the discussion towards topics of interest specifically to developers.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Next Generation Application Deployment

Tuesday, December 23, 2008 | Run time: 1:05:07

Heroku founder Adam Wiggins outlines their vision of next-generation application deployment architectures. He describes the challenges and choices Heroku has made and the upcoming technologies and capabilities that are exciting in their space.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Sauce Labs

Tuesday, December 23, 2008 | Run time: 1:07:25

Jason Huggins, Al Sargent, and Steve Hazel from Sauce Labs describe their Selenium-in-the-cloud testing framework, including integration with CI systems like CruiseControl.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Rajan Agaskar

Standup 12/23/08

Rajan Agaskar
Tuesday, December 23, 2008

Help

  • Functional tests running slowly after upgrade to Rails 2.2

A project upgraded to Rails 2.2 which was previously able to complete its functional suite in under 300 seconds now takes a leisurely 6000 seconds to finish. Speculation about possible causes is welcomed. Meanwhile, I suspect ghosts.

UPDATE: apparently the functional tests were running slow due to memory swappage (the memory swappage, in turn, caused by ghosts, no doubt).

Interesting Things

  • Rails 2.2 may break Selenium tests

Rails 2.2 continues its reign of terror by using ‘secure’ HTTP-only cookies by default that cannot be read or set via javascript. This can cause selenium tests that attempt to logout by deleting the client-side session cookie to fail. The fix is simple enough; add :session_http_only => false in the config.action_controller.session hash in environment.rb. Or, to simply turn it off for your testing environment (which means you’ll still get the benefit of secure cookies in production), you can add ActionController::Base.session_options[:session_http_only] = false in your test.rb file. Alternatively, you can add explicit logout calls to your selenium tests, but expect these to add considerable time to your selenium suite.

  • FixtureScenarios and slow test suites

A pivot installed FixtureScenarios on a project and found that the addition of the plugin alone (with no configured fixtures) doubled the time the project’s test suites took to complete. FixtureScenarios are now dead to Adam. Dead!

  • No Pivotal Breakfast tomorrow

Karen Tsui and Ling-Wen Chang tirelessly prepare the world-famous Pivotal breakfast each day and generally make the San Francisco office an awesome place to work. They’re finally taking a much deserved break tomorrow, so now is a wonderful time to publicly recognize their much appreciated work. Thanks, and happy holidays!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Rajan Agaskar

Standup 12/22/08

Rajan Agaskar
Monday, December 22, 2008

Help

  • Helper tests failing after Rails 2.2 upgrade.

A project was upgraded to run on Rails 2.2 and now has a handful of hate for helper tests. The tests in question use a stub Controller to generate a template and end up getting some nil variables. cache_classes is off. Suggestions welcome.

Interesting Things

  • Pivotal Tracker Team Strength Reminder

If team members are out sick or on vacation, you can adjust your team strength settings by clicking on the blue icon at the end of the current iterations release marker. This will recalculate your current iteration velocity accordingly.

  • ‘flash’ Partials

It is bad form to name your partials ‘flash’, because they attempt to populate a flash variable which has the nasty side effect of blowing away your notification array. Naming a partial ‘phlash’ produces no adverse effects outside of looking a little silly. ‘shazzam’ and ‘booyakkasha’ are also acceptable although somewhat less descriptive.

  • Capistrano and Git

A default deploy with capistrano and git appears to prefer using the local working set instead of the configured repo (in this case, github). This may end up surprising you a great deal if you do a deploy from a machine that isn’t an exact copy of HEAD. It was suggested that best practice is to deploy tags from a dedicated CI box rather than a development workstation.

  • Ruby On Rails Noteworthy Applications

http://rubyonrails.org has a new design, and with it came a page of noteworthy apps running RoR. Are you a Pivotal client who’d like to see your site up there? Get in touch!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Pivotal Labs

Tim Berners-Lee: Principles of Design

Pivotal Labs
Sunday, December 21, 2008

Here’s a good, quick read. It got its start about 10 years ago:

http://www.w3.org/DesignIssues/Principles.html

Topics:

  • Simplicity
  • Modular Design
  • Tolerance (”Be liberal in what you require but conservative in what you do”)
  • Decentralization
  • Test of Independent Invention (”If someone else had already invented your system, would theirs work with yours?”)
  • Principle of Least Power

When you’re heads-down doing Agile or OOP sometimes you find yourself accidentally assuming that certain useful general principles are special to what you practice – when the truth is they’re probably not even unique to your discipline, and some Greeks wrote them down around 500 BC.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Colin Shield

Standup 12/19/2008 Enumeration mixin and Rails 2.2

Colin Shield
Saturday, December 20, 2008

One project reported a problem with the enumeration mixin when upgrading to Rails 2.2. The problem was with the all method.

The enumerations mixin allows you to treat instances of your ActiveRecord models as though they were an enumeration of values.

The proposed solution is to switch to in memory enumeration instead of using ActiveRecord.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Dan Podsedly

Agile Tools: Simplify, Instead of managing complexity

Dan Podsedly
Friday, December 19, 2008

Great article comparing Pivotal Tracker to Mingle, as an example of a tool that simplifies things, rather than trying to manage complexity (and getting in the way):

Agile Tool Vendors: Please don’t try to manage complexity – simplify my life!

Thanks for the positive feedback, Matthias!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (778)
  • rails (113)
  • testing (87)
  • ruby (83)
  • ruby on rails (70)
  • jobs (62)
  • javascript (54)
  • techtalk (44)
  • rspec (38)
  • activerecord (29)
  • productivity (29)
  • gogaruco (29)
  • ironblogger (29)
  • git (28)
  • nyc (27)
  • rubymine (25)
  • bloggerdome (22)
  • mobile (22)
  • cucumber (20)
  • process (19)
  • pivotal tracker (19)
  • jasmine (19)
  • design (18)
  • ios (18)
  • webos (17)
  • objective-c (17)
  • android (16)
  • palm (16)
  • "soft" ware (16)
  • fun (15)
  • tracker ecosystem (15)
  • ci (15)
  • cedar (15)
  • rails3 (14)
  • performance (14)
  • bdd (14)
  • gem (13)
  • tdd (13)
  • selenium (12)
  • css (12)
  • goruco (12)
  • bundler (12)
  • meetup (11)
  • railsconf (11)
  • nyc-standup (11)
  • capybara (10)
  • mac (10)
  • mojo (10)
  • chef (10)
  • api (10)
Subscribe to Community Feed
  1. ←
  2. 1
  3. 2
  4. 3
  5. 4
  6. →
  • 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 >