title: Devise uninitialize constant Users
body: <p>I realize this has been asked many times on here (I also read through the wiki). But I am still confused at how to properly keep my route names the same.</p>
  
  <p>Currently my devise routes are below, using custom url's (for example <code>/user/signup</code>).</p>
  
  <p>My model is called <code>User</code></p>
  
  <p>Routes:</p>
  
  <pre><code>  devise_for :users, :controllers =&gt; { :registrations =&gt; "registrations" }, :path_names =&gt; {
      :sign_up =&gt; 'signup'
    }
  
    devise_for :users, :path =&gt; "user", :except =&gt; "create", :path_names =&gt; { 
      :sign_in  =&gt; 'login', 
      :sign_out =&gt; 'logout', 
      :password =&gt; 'forgot-password', 
      :confirmation =&gt; 'verification', 
      :unlock   =&gt; 'unblock', 
      :sign_up  =&gt; 'signup' 
    } 
  </code></pre>
  
  <p>All I am trying to do is hook into the create action so I can check if a honeypot field I have created is filled out (to prevent spam). That's really all I want to do.</p>
  
  <p>I want to keep my url the same though <code>/user/signup</code>. Is there an extra step I need to do?</p>
  
  <p>This is what I have so far in...</p>
  
  <p><strong>/app/controllers/registrations_controller.rb</strong></p>
  
  <pre><code>class Users::RegistrationsController &lt; Devise::RegistrationsController
  
    def new
      super
    end
  
    def create
      super
    end
  
  end   
  </code></pre>
  
  <p>I am getting <code>uninitialized constant Users</code></p>