title: How to search defined constants in ruby
body: <p>How can I show all defined constants with the word <code>"AjaxDatatablesRails"</code> in it?</p>
  
  <p>I tried this:</p>
  
  <pre><code>::AjaxDatatablesRails::Extensions
  # &gt;&gt; NameError: uninitialized constant AjaxDatatablesRails::Extensions
  </code></pre>