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: September 2011

Dan Podsedly

Pivotal Tracker and Google Apps, Together At Last

Dan Podsedly
Tuesday, September 20, 2011

We’re big Google Apps for Business users (and fans) at Pivotal Labs, and use the services daily – along side with Pivotal Tracker, of course. We’re excited to announce that Tracker now integrates with Google Apps, and is available for your domain in the Google Apps Marketplace.

Please read on to learn how to get started, and remember, if you like it, let the rest of the world know with a review in the Marketplace!

Provisioning Tracker for your Apps Domain

The first step is provisioning Pivotal Tracker for your Google Apps domain. You’ll need to be a domain administrator to do this, or a user with the Domain Settings privilege enabled (more on that here). Click the button above, or go to the Pivotal Tracker listing in the Marketplace, click the Add it Now button, and follow all the steps.

Once provisioned, you should see Pivotal Tracker on your Google Apps Dashboard. This is where you can make any provisioning changes, or remove apps from your domain.

Integration between Tracker and a Google Apps domain is at the level of the Tracker account (more on those here). Only one account can be associated with a Google Apps domain, so normally this should be the account that holds all of your company’s projects.

Universal Navigation and Single-Sign-On

It may take a few hours after provisioning, but all users in your Google Apps domain should see a Pivotal Tracker link in the more menu (in the various Google services like Gmail, Google Docs, Calendar, etc.). Clicking that link will sign you into Tracker via OpenID, using your Google Apps identity.

If you access Tracker by going to the Tracker sign in page directly, click on the Google Apps link (the one at bottom right), and type the name of your Google Apps domain (for example “pivotallabs.com”).

Note: If you run into problems with multiple Google OpenID identities (for example because you used to sign in via Google Accounts), please read this.

Inviting Google Users to Account and Projects

We’ve made it easy to invite co-workers from your domain to your linked Tracker account and/or projects within it.

To invite people to your Tracker account, for example to delegate administrative or project creation rights, go to the Account Members page for the account, click the Add Member button, then the Add Members from List link at the bottom.

You’ll see a list of everyone in your Google Apps domain. Choose the people you’d like to invite to the account, as well as their desired roles.

To invite users from your domain directly to your Tracker project, go to the Project Members page, and click the Add Members from List button. Again, you’ll see a list of all users in your Google domain, and can select multiple users along with their desired project roles. The drop-down menu at the top allows you to toggle between showing Google domain users only (who are not yet on the project), Tracker users only, or both.

Sharing Google Docs via Tracker Stories

Google Docs are indispensable for sharing and collaboration around anything that requires more info than a concise user story. Copying and pasting document links into Tracker stories, and worrying about whether the docs are shared with the right people isn’t fun, though – so we’ve made it easy to attach relevant Google Docs directly to stories.

Google documents that are attached to stories are shared automatically with project members, in view mode, as people open them (by clicking on the document thumbnails/links in Tracker). Note – it sometimes takes a few seconds for Google permission changes to be processed, so you might get a permission denied error the first time you open a Google document in Tracker. If this happens, just close that browser tab and try again.

Feedback and Comments

We’re eager to hear what you think about the Google Apps integration so far, and what you’d like to see in the future. If you think we’re on the right track, leave us a review on the Google Apps Marketplace and star us up!

And, as always, we welcome any kind of feedback. If you have a comment or question, send an email to tracker@pivotallabs.com, reply in the comments here, or mention @pivotaltracker on Twitter!

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Onsi Fakhouri

SF Standup 9/16/2011: Schrodinger’s Cucumber

Onsi Fakhouri
Friday, September 16, 2011

Ask for Help

“I have a fresh install of Rails 3.1 and when I run specs with rake (with the development server running) it complains that the database is already in use.”

A chorus of replies: “I hate it when it says that.”

Looks like the test suite is trying to use the development DB. Try:

RAILS_ENV=test rake ...

It was pointed out that a call to rake that does not explicitly specify RAILS_ENV typically runs in development mode, detects that tests are being run, then switches to test mode. Any code that runs before the environment switch (in initializers, say) will run against the development DB.

“I have a large inherited cucumber suite that consistently fails on CI…. unless I screen share in and watch it. Why do I need to peek for my tests to pass?”

The likely answer: The very act of screen-sharing causes the test-suite to slow down. Use the setSpeed method in Selenium to force Selenium to take a breather between commands (the passed in value is in milliseconds).

Interesting Things

  • resque [ˈrɛsk] + JSON [jāsʌn] = surprise

    Ruby objects queued and dequeued by resque suffer a translation through JSON. What you put in may not be what you get out!

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

NYC Standup 9/14/2011: How much is that Capybara in the window?

Pivotal Labs
Wednesday, September 14, 2011

(Or vice versa.)

Ask for Help

“How can we control popup windows when we’re testing with Capybara?”

See the method within_window.

“How can I stub the current_user in a helper spec?”

Try stubbing #current_user on the helper object in the spec.

Interesting

In your AR model, if you do this

after_update :do_foo, :if => :bar_changed?
after_update :do_foo, :if => :qux_changed?

The method #do_foo will only be called after an update where qux has changed, not one where only bar has changed. The callbacks are keyed by the methods they call, so the second callback overwrites the first one entirely.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ian Smith-Heisters

Standup 9/14/11: breakage in acts_as_taggable_on and jQuery 1.6.2

Ian Smith-Heisters
Wednesday, September 14, 2011

Help

acts_as_taggable_on won’t allow you to add tags on create. You can save it twice, but that makes the controllers ugly. Ideas for fixing it include adding a wrapper class that abstracts the double-save, or writing your own unless you really need all the features of acts_as_taggable_on.

Interesting

jQuery 1.6.2 crashes and burns in IE8 in incompatibility mode. Upgrade jQuery to fix it. jQuery 1.6.4 is out recently, so upgrading shouldn’t be a problem.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ryan Dy

SF Standup 9/13/2011: Tempfiles, Rails3.1 Asset Pipeline and Ruby Kids

Ryan Dy
Tuesday, September 13, 2011

Help

  • Tempfiles created by paperclip or similar ruby gems don’t seem to get cleaned up. Is it best to monkey patch the use of the tempfiles and make sure unlink is called? Is it better to create a cron job that inspects tempfiles that haven’t been touched for awhile and clean them up?

Interesting

  • If you are migrating from a Rails 3.1 release candidate you might need to generate a new production.rb file that configures that asset pipeline in production differently. Also, if you are using Capistrano 2.80 you should: load ‘deploy/assets’ in your deploy.rb file. This will do the proper compilation and copying of assets in your shared release folder. Check out the asset pipeline guide.
  • Kids Ruby is have an event in cooperation with Gogaruco at Pivotal Labs this Sunday from 12-2. Register for it here.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ian Smith-Heisters

Standup 9/12/11

Ian Smith-Heisters
Monday, September 12, 2011

Interesting Things

Fire up your bundler, Jasmine 1.1 is out. The big feature of this release is improved stack traces.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Tyler Schultz

Android WebView loadData vs loadDataWithBaseURL

Tyler Schultz
Saturday, September 10, 2011

We spent some time trying to figure out why some html content would not load in our app’s WebView. We found trivial html can be loaded into a WebView using the loadData(String, String, String) method. Rendering complex pages with Javascript is a problem. It turns out the loadData() method requires the html to be URI escaped (RTFM? Bah!). There are additional characters that need to be escaped too, requiring some nasty boilerplate.

The simpler solution (workaround?) is to use loadDataWithBaseURL(String, String, String, String, String). Calls to this method do not require escaping. Pass along a garbage base url (or null), and an empty or null history url for success and profit.

webView.loadDataWithBaseURL("blarg://ignored", getData(), "text/html", "utf-8", "");
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Sean Beckett

New Tech Talk: MongoDB Redux

Sean Beckett
Friday, September 9, 2011

Chris Westin, a mongoDB developer from 10gen, discusses more in-depth uses of mongoDB, reveals some of the product roadmap, and answers questions from the audience.

See all our talks at http://pivotallabs.com/talks

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

Standup 9/9/11- Nobody said anything I can tease dwf about

Pivotal Labs
Friday, September 9, 2011

Faces

It’s Taylor’s last day. Hope you had a fun internship. Good luck back in school!

Interesting Things

  • There are 2 different ways to load HTML into Android web views. One of them needs escaped HTML, and the other does not. When you pick the wrong one for your purposes, it is hard to debug. Expect a blog post from Tyler about this sometime.
  • Routing to a hashroute in Firefox makes the favicon disappear. Obviously the only thing to do is keep setting the favicon!
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Ryan Richard

Standup 9/8/11

Ryan Richard
Thursday, September 8, 2011

Ask for Help

“What’s the best gem for Google Calendar integration? There are a few out there.”

It was suggested to look for a gem which is implemented using CalDAV, instead of the old Google APIs. Anyone have any specific suggestions?

Interesting Things

  • Iconfinder.com: search for icons filtered by license
  • 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. →
  • 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 >