Uninitialized constant in Controller with AjaxDatatables?
<p>I used Datatable with ajax: <a href="https://github.com/antillas21/ajax-datatables-rails/wiki/Part-2-The-Datatables-with-ajax-functionality" rel="nofollow noreferrer">https://github.com/antillas21/ajax-datatables-rails/wiki/Part-2-The-Datatables-with-ajax-functionality</a></p>

<p>My manage_datatable.rb:</p>

<pre><code>class ManagerDatatable &lt; AjaxDatatablesRails::Base
</code></pre>

<p>My controller:</p>

<pre><code>class OrganisationNew::JobsController &lt; OrganisationNew::OrganisationBaseController


def manage
respond_to do |format|
  format.html
  format.json { render json: ::ManagerDatatable.new(view_context) }
end
end
</code></pre>

<p>And my error:</p>

<pre><code>!! #&lt;NameError: uninitialized constant ManagerDatatable&gt;
</code></pre>

<p>Any ideas?
Thanks for any help.</p>