This should just be a rescue, I don't think it'll throw NoMethodError.  You could get rid of begin/end too and make this method-wide.