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
Jesse Smith

[Standup][SF] 8/31/12: Mountain Lion comes Monday

Jesse Smith
Friday, August 31, 2012
  • 14px margin bullies jasmine_content

In Chrome, the #banner child element in #HTMLReporter has a 14px top margin. For some reason this margin overflows the parent and pushes the body element off the top of the window. jQuery offset will tell you that the body is offset by zero, but any child elements of body are pushed down by 14px. Try overflow-hidden to remedy.

  • Bundler 1.2 official release

Specify your ruby version without the –pre tag.

  • Pivotal Labs in SF is hosting a preview GoGaRuCo talk at lunch today. Thanks to all who attend.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Jesse Smith

[Standup][SF] 08/29/12: Reconciliation

Jesse Smith
Wednesday, August 29, 2012

Helps

  • Font Awesome + CSS Transforms for tab throbber

Some pivots have experience with this working pretty well!

Interestings

  • False Alarm or DWF Lies

Draper/CI Reporter wasn’t our problem. Not entirely sure what was – but signs point to a Spork/ResqueSpec loader order problem on Linux only.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Joseph Palermo

[Standup][SF] 08/28/12: They at least strongly dislike each other

Joseph Palermo
Tuesday, August 28, 2012

Helps

  • Recommendations for static site generators for Heroku?

It looks like there’s a lot of them – does anyone have any personal recommendations?

Interestings

  • Draper and CI Reporter hate each other

This goes back to the Help a couple of weeks ago re: JSON being undefined. We blame Draper & its RSpec integration, but don’t yet have a solution.

  • eager_load and rake tasks

Eager loading doesn’t happen from rake tasks. This causes a problem if you are running in thread safe mode and dependency loading is disabled.

This has been fixed in master.

But until that is released, you can possibly branch your thread safe declaration on the existence of the $rails_rake_task global.

Events

  • eXtreme Tuesday

Come and talk about programming, and other aspects of XP. 6:30pm

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Jesse Smith

Standup 08/27/2012: Matthew Kocher has Interests

Jesse Smith
Monday, August 27, 2012

Interestings

  • git clone –recursive

Clones and inits and updates all the submodules.

  • Chrome debugger gem

https://github.com/conversation/chrome_debugger seems like it will be useful for something.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Whitney Schaefer

[Standup][SF] 08/24/12

Whitney Schaefer
Friday, August 24, 2012

Helps

  • Using asset pipeline outside rails

Correlating debugging errors to source files.

Currently using Sprockets template name in-lined. Any better solutions?

Suggestions:

  • Look at head repo of asset pipline
  • Middleman gem
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Whitney Schaefer

[Standup][SF] 08/23/12: Resqued!

Whitney Schaefer
Thursday, August 23, 2012

Helps

  • Alternatives to css :contains() selector

We use this selector in many tests, for example the ones that require to click on the link of a specific table row:

within "tr:contains('My Line')" do
    click_link "Edit"
end

This selector however is deprecated, and didn’t make it to css3.

Thus, is it safe to use it in tests?

Suggestions

  • Iterate over all the links
  • Put an id on the link
  • Probably not going away (and contains back in if it breaks)
  • Data attribute
  • Xpath – last resort
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Whitney Schaefer

Standup SF 8/22/12 – Database Backup Fun

Whitney Schaefer
Wednesday, August 22, 2012

Helps

  • ActiveRecord::UnknownPrimaryKey error when restoring backup on Heroku

Suggestions:

  • Check foreign key constraints
  • Use pgbackup

  • Taps Server Error: PGError: ERROR: time zone displacement out of range:

Taps Server Error: PGError: ERROR: time zone displacement out of range: “1970-01-01 12:00:00.000000+5857411200″

Suggestions:

  • Use pgbackup
  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Jeff Hui

[SF] Standup 7/21/12

Jeff Hui
Tuesday, August 21, 2012

Interestings

  • Always call jasmine.Clock.useMock() after anything that uses setTimeout or setInterval (e.g. _.throttle)

This is smallest example that reproduces the problem we saw in our codebase:

describe(”underscore”, function() {
var foo, throttledFoo;

beforeEach(function() {
jasmine.Clock.useMock(); // bad!

var Mod = Backbone.RelationalModel.extend({});
var Col = Backbone.Collection.extend({model: Mod});
new Col([{selected: false, trashed: false}]);

foo = jasmine.createSpy();
throttledFoo = _.throttle(foo, 500);

// jasmine.Clock.useMock(); // good!
});

it(”should 1″, function() {
throttledFoo();
});

it(”should 2″, function() {
throttledFoo();
});

it(”should 3″, function() {
});

it(”should 4″, function() {
});

it(”should consistently pass but doesn’t”, function() {
expect(foo.calls.length).toEqual(0);
throttledFoo();

expect(foo.calls.length).toEqual(1);

throttledFoo();

expect(foo.calls.length).toEqual(1);

jasmine.Clock.tick(501);

expect(foo.calls.length).toEqual(2);

});
});

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Whitney Schaefer

[Standup][SF] 08/20/12

Whitney Schaefer
Monday, August 20, 2012

Interestings

  • Capybara/Selenium wait_for_ajax is your friend

A good generic wait until the last AJAX call has returned before moving on to your next assertion. Solved a lot of unstable-in-ci Capybara specs for us

http://agilesoftwaretesting.com/selenium-wait-for-ajax-the-right-way/

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Matt Royal

And that’s the week!

Matt Royal
Friday, August 17, 2012

Interestings

  • http://www.realtime.co

Cloud realtime messaging, simple javascript API.

Many fancy demos like realtime mouse [1]. 1 Dollar per 1 Million messages after surpassing the free 1 Million.

[1] http://www.realtime.co/business/demos/demo/mouselive

  • Factory Girl Traits

They are awesome, check them out.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Topics

  • agile (780)
  • rails (113)
  • testing (88)
  • ruby (83)
  • ruby on rails (70)
  • jobs (62)
  • javascript (55)
  • techtalk (44)
  • rspec (38)
  • ironblogger (32)
  • productivity (30)
  • activerecord (29)
  • gogaruco (29)
  • git (28)
  • nyc (27)
  • rubymine (26)
  • bloggerdome (23)
  • mobile (22)
  • process (21)
  • pivotal tracker (20)
  • cucumber (20)
  • 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)
  • css (13)
  • tdd (13)
  • selenium (12)
  • goruco (12)
  • bundler (12)
  • meetup (11)
  • railsconf (11)
  • nyc-standup (11)
  • capybara (10)
  • mac (10)
  • mojo (10)
  • chef (10)
  • api (10)
Subscribe to agile Feed
  1. ←
  2. 1
  3. ...
  4. 6
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. ...
  12. 78
  13. →
  • 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 >