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

New York Standup 11/24/2008

Mike Grafton
Monday, November 24, 2008

Interesting

  • Rails 2.2.2 is released!

  • Even Rails 2.2.2 isn’t always threadsafe. I found this out by running a script with JRuby from the command line. The script loaded the Rails environment and then launched two threads that simply tried to resolve an ActiveRecord class constant. Fireworks (in the form of LoadError) ensued deep inside of const_missing. I’ll post the full example later today.

  • Tsearch2 is now built into Postgres (as of 8.3). This means you must remove the metadata from your tables, since Postgres now stores it in a separate place.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

4 Comments

  1. Stephan Kaag says:

    You do mean Rails 2.2?

    November 24, 2008 at 3:42 pm

  2. Stephan Kaag says:

    Ah clear now. Rails 2.2.2 indeed.

    November 24, 2008 at 3:44 pm

  3. Mike Perham says:

    ActiveSupport’s autoloading is not thread-safe. Make sure you are calling config.threadsafe! which disables it.

    November 24, 2008 at 7:16 pm

  4. Mike Grafton says:

    Thanks Mike, it does seem that autoloading is the problem here. I turned it off (as you suggested) and the problem went away – although I was forced to load every ruby file in my /lib directory by hand. I don’t grok what’s loading the rest of my app classes, but for now it’s a mystery I’m willing to live with :)

    November 25, 2008 at 1:10 am

Add New Comment Cancel reply

Your email address will not be published.

Mike Grafton

Mike Grafton
San Francisco

Recent Posts

  • SF Standup 5/6/2011: Bundler Blah Blah Blah Blah
  • SF Standup 5/5/2011: The Most Interesting Standup in the World
  • SF Standup 5/4/2011: Tête-à-tête
Subscribe to Mike's Feed

Author Topics

agile (5)
bundler (2)
jquery (1)
ikea (1)
pairing (1)
amazon cloudfront (1)
internet explorer (1)
paperclip (1)
chef (2)
engineyard (1)
fast_xs (1)
rails (5)
activerecord (1)
rvm (1)
memcache (1)
etags (1)
haproxy (1)
mongrel (1)
selenium (1)
imagemagick (1)
jolt awards (1)
mac (1)
rubymine (1)
jruby (1)
postgres (1)
  • 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 >