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: November 2010

Alexander Murmann

Standup 11/8/2010

Alexander Murmann
Monday, November 8, 2010

Help – Running my own gem server

Sarah will give a Ruby introduction class for kids at RubyConf. However, there won’t be any Internet connection available, but the participants will need to install several gems.
A solution to this problem is the gem geminabox which allows you to run a server providing gems. Other users who have geminabox installed then are able to install gems from that server.

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

Tracker hosting move is complete

Dan Podsedly
Saturday, November 6, 2010

We’ve completed the hosting move, and Pivotal Tracker is back up. We’ll post more details about the new environment within the next few days.

In the meantime, if you experience any problems, please try clearing your browser’s cache as well as all cookies for the pivotaltracker.com and www.pivotaltracker.com domains. If the issue persists, please let us know!

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

Hosting move in progress

Dan Podsedly
Saturday, November 6, 2010

We have begun the hosting move, and anticipate the entire process to take approximately 6 hours. For most up to date status, please follow @pivotaltracker.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Mike Gehard

Devise 1.1.3 gotcha…

Mike Gehard
Friday, November 5, 2010

In the continued saga that is the Rails 2.3.10 to Rails 3.0.1 upgrade, I found this little nugget today…you want to add a custom action to a controller that inherits from a Devise controller. Here are the steps that you need to follow:

1) Create a custom controller that overrides some out of the box Devise actions as well as adds a new method.

class RegistrationsController < Devise::RegistrationsController
  def update
     # do something different here
  end

  def deactivate_owner
    # deactivate code here
  end
end

2) You have to tell Devise to use the new controller in routes.rb as well as add the new route to the new action.

devise_for :owners, :controllers => { :registrations => "registrations" } do
  post "deactivate_owner", :to => "registrations#deactivate_owner", :as => "deactivate_owner_registration"
end

When we initially implemented this, our route definition looked like this:

post "deactivate_owner", :to => "registrations#deactivate_owner", :as => "deactivate_owner_registration"
devise_for :owners, :controllers => { :registrations => "registrations" }

When it was implemented this way, we kept getting a AbstractController::ActionNotFound exception. Once we passed the block to devise_for seen in #2, everything worked fine.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Sean Beckett

New Tech Talk: Writing Tools With WebKit

Sean Beckett
Friday, November 5, 2010

As a popular web rendering engine, WebKit is mostly used via browsers. Sencha Engineering Director Ariya Hidayat presents a different angle: using WebKit as a library to write web development tools. Includes how to get and compile the WebKit code.

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

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Sean Beckett

New Tech Talk: Crowdsourcing with CrowdFlower

Sean Beckett
Friday, November 5, 2010

CrowdFlower enables a quality, fast, large, global workforce to complete simple tasks. Brian O’Rourke and Chris Van Pelt create a sample app to demonstrate the API and the quality analysis tools. They also discuss lessons learned in its development.

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

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Writing Tools With WebKit

Friday, November 5, 2010 | Run time: 41:22

As a popular web rendering engine, WebKit is mostly used via browsers. Sencha Engineering Director Ariya Hidayat presents a different angle: using WebKit as a library to write web development tools. Includes how to get and compile the WebKit code.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Crowdsourcing with CrowdFlower

Friday, November 5, 2010 | Run time: 50:55

CrowdFlower enables a quality, fast, large, global workforce to complete simple tasks. Brian O’Rourke and Chris Van Pelt create a sample app to demonstrate the API and the quality analysis tools. They also discuss lessons learned in its development.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Sarah Mei

Standup 11/5/2010: Happy Friday Edition

Sarah Mei
Friday, November 5, 2010

Interesting:

  • bundle install --without test excludes the test group in your Gemfile from the install. It works well for reducing the size of your Heroku slug. However, there’s a glitch with this option on Heroku — when you specify it, Heroku reinstalls every included gem every time you deploy. It does respect your Gemfile.lock, so you’re trading a smaller slug for a longer deploy.

  • Pivotal’s open source CIMonitor project now supports OpenID! Thanks Tyler and Josh.

  • Arel has a bug that makes it difficult to use in rails console. Every time you add a predicate, the number of internal objects in the Arel result increases exponentially. So, by the time you have 5 or 6 predicates, the console finishes generating the expression more or less instantly, and then spends 15+ minutes calling to_s on the resulting Arel object in order to display it to you. tl;dr: when you’re playing with Arel in rails console, end every line with ; nil to avoid having it print out the result. The exponential object explosion will be fixed in Rails 3.1.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Mike Gehard

Rails3, Caypbara, Cucumber, FakeWeb…oh my….

Mike Gehard
Thursday, November 4, 2010

While helping client upgrade a Rails 2.3.10 site to Rails 3.0.1, I came across a very perplexing problem with our WebDriver based Cucumber tests that all worked fine under 2.3.10.

We were “randomly” getting some very strange errors from Cucumber having to do with timeout problems and other strangeness like Cucumber not being able to find form fields to fill in.

The solution:
1) require => false for the FakeWeb line in the Gemfile
2) add require ‘fakeweb’ to the top of the test_helper.rb file

or optionally scrap FakeWeb for either Artifice or WebMock

It has something to do with FakeWeb inserting it into the HTTP stack strangely even if you tell it to allow non-local HTTP requests. We weren’t seeing it in 2.3.10 because we were using a cucumber environment to run the cucumber tests. Now under 3.0.1 we run the cucumber tests in the test environment.

I wish I had some more details but I was just happy to move past this strangeness so I didn’t really look back.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (778)
  • rails (113)
  • testing (86)
  • 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)
  • mobile (22)
  • bloggerdome (20)
  • 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)
  • selenium (12)
  • css (12)
  • goruco (12)
  • bundler (12)
  • tdd (12)
  • meetup (11)
  • railsconf (11)
  • nyc-standup (11)
  • capybara (10)
  • mac (10)
  • mojo (10)
  • chef (10)
  • rubygems (9)
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 >