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][SF] 3/28/2012

Alex Lobascio
Wednesday, March 28, 2012

Interesting

A project is moving from their initial layouts to Bootstrap. They have quite a few class name conflicts in their css, so in order to isolate the new Bootstrap styles to specific elements, they added the Bootstrap styles to their own (in SASS) under a .bootstrap namespace, and are nesting any new elements under divs with a class of .bootstrap, and now everything is pretty again.

Nesting in this way (rather than namespacing all of the preexisting css) ensures that no Bootstrap styling leaks into pre-existing elements, but means that occasionally a pre-Bootstrap style will leak into the new namespaced elements due to higher selector specificity.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Standup 12/19/2011: Fun with IE8

Alex Lobascio
Monday, December 19, 2011

Help

JQuery FileUpload + IE8 = Access Denied when trying to upload a file. Turns out the team was styling the file input button to hide the actual file input, but had accidentally given it a width of 1px. The file chooser was working on other browsers because a “choose” event was wired to the actually visible button, which IE couldn’t deal with.

Interesting

IE8 Caching: IE8 will cache responses with 200 response codes. This can be a problem if your user hits a login-required page, gets a 200 on the response to that, logs in, and attempts to revisit the page. Properly setting cache control headers (which Rails does by default) should fix it.

The Heroku Cedar stack uses Ruby 1.9.2.p290. Just sayin’

IE was giving us “Access is Denied” when using the jQuery fileupload plugin and trying to upload a file. We were styling the file input button in the usual way of hiding the actual file input, but at some point somebody had set the width to 1px. The reason the file picker was still working was somebody had wired a “choose” event to the visible button, which worked in all browsers except IE.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Standup 7/15/2011

Alex Lobascio
Friday, July 15, 2011

Help!

Does anyone know of a library or canonical source for three-digit airport codes?
Edit: Pivots came up with http://www.airportcodes.org/ and http://www.halfgaar.net/localized-world-airport-codes

Interesting:

Ruby 1.9.2.p290 was released last night. Looks like it fixed some YML-related problems.

A pair was having problems with Sass on their production environment on Heroku this last week. They’ve discovered a bug and created a sample project/bug report for it, which will be linked here when it’s posted.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Standup 7/13/2011

Alex Lobascio
Wednesday, July 13, 2011

Interesting:

Jasmine 1.1.0.rc3 has been released!
Check it out on github.

Help!:

One pair was having problems getting custom Devise views for the sessions controller to appear. StackOverflow suggests that when using a custom extension of a Devise controller, new views must be placed into app/views/controller_name/ as appropriate.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter
Alex Lobascio

Alex Lobascio
San Francisco

Subscribe to Alex's Feed

Author Topics

agile (3)
  • 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 >