Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8679041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:52:24+00:00 2026-06-12T20:52:24+00:00

I followed the instructions given on devise page . Only thing different is that

  • 0

I followed the instructions given on devise page. Only thing different is that I am customizing registrations and their example is on sessions.

When I hit /users/sign_up page, devise is using Devise::RegistrationsController#new action instead of new action from users_controller.rb

As you can see from the server log below, XXXXXXXXXX\nxxxxxxxxxxx is not seen, even though user controller has new action that puts "XXXXXXXXXX\nxxxxxxxxxxx"

Started GET "/users/sign_up" for 127.0.0.1 at 2012-10-14 03:29:52 -0700
Processing by Devise::RegistrationsController#new as HTML
  Rendered /Users/jasonkim/.rvm/gems/ruby-1.9.3-p0/gems/devise-2.1.2/app/views/devise/shared/_links.erb (0.4ms)
  Rendered users/registrations/new.html.haml within layouts/application (4.8ms)
Completed 200 OK in 88ms (Views: 12.3ms | ActiveRecord: 0.7ms)

users_controller.rb

class Users::RegistrationsController < Devise::RegistrationsController
  def new
    @user = User.new
    address = @user.address.build
    puts "XXXXXXXXXX\nxxxxxxxxxxx"
  end
end

routes.rb

devise_for :users, :controllers => { :registration => "users/registration" }
devise_for :employers

only thing i added in devise.rb

config.scoped_views = true

What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:52:26+00:00Added an answer on June 12, 2026 at 8:52 pm

    It should be

    devise_for :users, :controllers => { :registrationS => "users/registrationS" }
    

    with a trailing ‘s’ (but of course in lower case)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I followed the instructions given on this page to import the server certificate. When
I am trying to do ssh connection using cygwin. I have followed instructions given
I followed the instructions given in the link: http://blog.avirtualhome.com/how-to-compile-a-new-ubuntu-11-04-natty-kernel/ for building a custom kernel
I've followed all instructions given on this site with an empty .vim folder, but
I followed the instructions as given in Using The Notifications API . Also I
I followed demo instructions on page http://www.achartengine.org/content/goodies.html i successfully imported the demo project, but
I've followed the instructions given here for introducing an existing SQLite database to your
I created the instance of linux on EC2. I followed the exact instructions given
I'm using the KnpMenuBundle in my application, and I have followed their instructions to
I followed the instructions given by CakePHP 2.x (via test.php) to install PHPUnit: pear

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.