cakephp/cakephp — pull request #4687 by dereuromark (2014-09-21 23:34:07+00:00)
Title: Do not pluralize twice.

Even though it doesn't seem to fix the inflection bug of https://github.com/cakephp/cakephp/issues/4685 there is no need to pluralize twice - as tableize() already does that internally:

$result = static::pluralize(static::underscore($className));