Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 11/11/2009: Redefining an alaised method, Sessions galore, 10.6.2 fail

Help

*”Proxying Apache to Thin and getting 502 errors.”

Interesting

  • Beware: Health check ping every 3 seconds * 15 mongrels * 1 week = millions of session rows. Create skip_filter entry for your health ping action.

  • Snow Leopard 10.6.2 is out. An unlucky upgrader attempted to go 10.6.1 -> 10.6.2 and it hosed the machine. This required the upgrader to reinstall Snow Leopard from disk, then upgrading to 10.6.2. Backup your data before upgrading!

  • Redefining an aliased method may not do what you expect: When the aliased method is invoked the original implementation executes.

def do_something
  puts "hello"
end

alias :do_something_else :do_something

def do_something
  puts "goodbye"
end

do_something_else    # prints "hello"

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *