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 6901053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:37:29+00:00 2026-05-27T07:37:29+00:00

I have a User and a Rep model devise_for :users, :controllers => {:registrations =>

  • 0

I have a User and a Rep model

devise_for :users, :controllers => {:registrations => 'user_registration'}
devise_for :reps

I ran

rails generate devise:views reps

The custom views show up in app/views/reps

But the rep paths are still using the built in devise views

Rendered ~/.rvm/gems/ruby-1.9.2-p290/gems/devise-1.4.9/app/views/devise/registrations/edit.html.erb

Instead of the generated reps views.

  • 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-05-27T07:37:30+00:00Added an answer on May 27, 2026 at 7:37 am

    By simply putting the views there Devise won’t use them. You would need to point Devise::RegistrationsController to the right controller which has these views, which you can do by calling this:

     devise_for :reps, :controllers => { :registrations => "reps/registrations" }
    

    This needs to have a new controller defined at app/controllers/reps/registrations_controller.rb:

     class Reps::RegistrationsController < Devise::RegistrationsController
    
     end
    

    You would then have the views in the right directory for this controller to use.

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

Sidebar

Related Questions

I have a table with three columns: user varchar, status varchar , rep int
i have user control, which i render on several views. i want to show
I have a basic karma/rep system that awards users based on their activities (questions,
I have User and Friend entities in my data model, being a one User
I have user control named DateTimeUC which has two textboxes on its markup: <asp:TextBox
I have user control in my MVC2 app placed in the Content folder (it's
I have user generated podcasts, each with their own RSS feed. Is there a
We would like to have user defined formulas in our c++ program. e.g. The
If I have user id variable, what is correct java naming convention for it?
A lot of JavaScript libraries have user interface widgets. Usually they are created after

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.