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

Standup 12/9/2009

Rajan Agaskar
Wednesday, December 9, 2009

Interesting Things

  • Fixjour blows up on validations for associated models

    Two Pivots experienced this problem on separate projects. The general consensus was that generating objects with correct associations can be difficult. FactoryGirl was recommended as a fixture plugin that handles this problem particularly well. It was also suggested that rolling your own object mothers was trivial (fisticuffs ensued).

  • timeout.rb

Timeout.rb raises an exception to kill child threads; it so happens that this exception can be caught, and possibly swallowed. This is truly a Noid to be avoided at all costs.

  • UPDATE: Tests using Paperclip fail to run

When Paperclip cannot find identify in the path, it will raise an error that suggests it has been called with incorrect arguments. This is a bold-faced lie.

One Pivot remarked that these tests should really be mocking Paperclip in the first place, which seems an appropriate response to dishonesty.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

2 Comments

  1. Pat Nakajima says:

    Can someone post a failing test or example of Fixjour blowing up on associated models? I’d like to check it out.

    December 9, 2009 at 11:48 am

  2. Rajan Agaskar says:

    Pat:

    Apparently there was some sort of collision on a new_user method that lived somewhere down in Socialitis.

    Removing this method fixed everyone’s wagons.

    December 10, 2009 at 9:28 am

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.
  • Try using Mongo
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 >