title: Calling method from subclass results in "no superclass method `sign_up_params' for ...". Why?
body: <p><strong>Background</strong></p>
  
  <p>I have subclassed <code>Devise::RegistrationsController</code> to handle User registrations myself with a class named <code>DeviseUsersController</code>.</p>
  
  <p>I need to override the <code>create</code> action - I had previously used <code>super</code> then performed the additional things that needed to be done, however, this no longer will satisfy my requirements.</p>
  
  <p>So I checked out the <a href="https://github.com/plataformatec/devise/blob/master/app/controllers/devise/registrations_controller.rb" rel="nofollow">devise code on github</a> and tried to recreate it with a few adjustments. However, I have had problems starting with the first line...</p>
  
  <p><strong>The Code</strong></p>
  
  <pre><code>class DeviseUsersController &lt; Devise::RegistrationsController
    ...
  
    def build_resource
      super
    end
  
    def sign_up_params
      super
    end
  
    def create
      build_resource(sign_up_params)
      ...
    end
  
  end
  </code></pre>
  
  <p><strong>The Error</strong></p>
  
  <pre><code>super: no superclass method `sign_up_params' for #&lt;DeviseUsersController:0x007f8f2d09a538&gt;
  </code></pre>
  
  <p><strong>The Question</strong></p>
  
  <p>Why is this error occurring? Based on the <a href="https://github.com/plataformatec/devise/blob/master/app/controllers/devise/registrations_controller.rb" rel="nofollow">Devise::RegistrationsController code</a> it is evident that the method, which is not private, exists.</p>
  
  <p><em>Versions:</em></p>
  
  <ul>
  <li>Rails 3.2.13</li>
  <li>Ruby 1.9.3</li>
  <li>Devise 2.2.3</li>
  </ul>
  
  <p><strong>EDIT</strong>
  Changing the code to:</p>
  
  <pre><code>class DeviseUsersController &lt; Devise::RegistrationsController
    ...
  
    def create
      build_resource(sign_up_params)
      ...
    end
  
    protected
  
    def build_resource
      super
    end
  
    def sign_up_params
      super
    end
  
  end
  </code></pre>
  
  <p>still does not work.</p>