class Object # ActiveSupport's Object#try has difficulties if you # try to use it on an instance of FalseClass (which # I often seem to end up doing). Therefore... def try(method, *args, &block) send(method, *args, &block) if respond_to? method end end