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

Too much magic for Ken

Callum Stott
Friday, February 22, 2013

Helps

Lobot needs YOU

The Lobot project is recruiting team members. Mostly that means that when scheduling permits, you’ll work on Lobot as a project. Contact Ken (the new PM), or Davis.

How do RubyMine inspections work?

I have a module that creates methods dynamically, but I want Command-B to work for those methods.

Interestings

before_save on: :create fails silently

before_save and after_save will happily take an on: :create option, and then completely ignore it. before_validation takes an on: :create option, and actually works, which is why it feels natural to put on: :create after a before or after save.

The right answer, apparently, is to use before_create or after_create.

See also: http://grokbase.com/t/gg/rubyonrails-core/12bda67vx2/rails-core-suggestion-%60before-save-on-create%60-should-either-work-or-raise-an-exception

Resque worker shutting down on Heroku – solved

We recently added the resque-pool gem which does alias_method on the resque worker shutdown? method to look at the pid of the process being shutdown. On Heroku this always evaluates to true.
Takeaway message don’t add resque-pool gem to your gemfile for an heroku application.

hackernewsletter.com

Weekly email of curated links from hacker news. Recommended by Rajan.

Thoughtbot is writing a book

Ruby Science: https://learn.thoughtbot.com/products/13-ruby-science

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Callum Stott

Callum Stott
San Francisco

Recent Posts

  • What time is it supposed to be?
  • Awkward Bluetooth
  • WE’RE #10
Subscribe to Callum's Feed

Author Topics

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