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
  • Tools
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 10/3/2011: filename.should == classname

Gregg Van Hove
Monday, October 3, 2011

Ask for help

  • We have ruby files where the class isn’t named the same as the file. When we deploy to an environment that runs with memcache, the classes can’t be loaded from memcache and we get a ‘no constant defined’ error.

Other than, “don’t name your files like that” the next best answer is to setup some file that eager loads all of your classes by name before memcache gets loaded.

Interesting Things

  • jQuery 1.6.2 crashes IE8 when the page has a background image on the body. If you see this upgrade to jQuery 1.6.4 unless you want to crash the most popular browser.
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

One comment

  1. Mike Perham says:

    Use require_dependency in the file that uses the caching.

    October 3, 2011 at 9:54 am

Add New Comment Cancel reply

Your email address will not be published.

Gregg Van Hove

Gregg Van Hove
San Francisco

Recent Posts

  • Standup 02/23/2012 – Charts are cool
  • Standup 02/22/2012: Apache trying to compete with Nginx?
  • Standup 10/7/2011: Google says NO!
Subscribe to Gregg's Feed

Author Topics

agile (11)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Tools
  • 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 >