class wrapper method for instance method. #rails