original_string: public function tableize($className)
      {
          if ($result = $this->getCache($className, 'tableize')) {
              return $result;
          }
  
          $result = $this->pluralize($this->underscore($className));
          $result = str_replace('/', '_', $result);
          return $this->setCache($className, 'tableize', $result);
      }
code: public function tableize($className)
      {
          if ($result = $this->getCache($className, 'tableize')) {
              return $result;
          }
  
          $result = $this->pluralize($this->underscore($className));
          $result = str_replace('/', '_', $result);
          return $this->setCache($className, 'tableize', $result);
      }
code_tokens: public function tableize ( $ className ) { if ( $ result = $ this -> getCache ( $ className , 'tableize' ) ) { return $ result ; } $ result = $ this -> pluralize ( $ this -> underscore ( $ className ) ) ; $ result = str_replace ( '/' , '_' , $ result ) ; return $ this -> setCache ( $ className , 'tableize' , $ result ) ; }
docstring: Creates the name of a table like Rails does for models to table names.
  
  This method uses the pluralize() method on the last word in the string.
  
  Examples:
  1. tableize("RawScaledScorer") => "raw_scaled_scorers"
  2. tableize("egg_and_ham")     => "egg_and_hams"
  3. tableize("fancyCategory")   => "fancy_categories"
docstring_tokens: Creates the name of a table like Rails does for models to table names .