How to find to which module(s) a method (parameterize) belongs to in Rails?
<p>My goal is to add a new method <code>parameterize_cs</code> (parameterize case sensitive, that doesn't perform <code>downcase</code> on the resulting string).</p>

<p>For this I need to find to which <code>Module</code> <code>parameterize</code> belongs to, or where it is located, so I can extend that with my new function.</p>

<p>But I'm stuck at finding out where <code>parameterize</code> is located.</p>

<p>I tryed using <code>Method#source_location</code>, but that fails because calling <code>method(:parameterize)</code> in rails console returned: <code>NameError: undefined method 'parameterize' for class Object'</code></p>

<p>Any ideas where to go from here ?</p>