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

The Archive Base Latest Questions

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

I have generated a resource named fax in the users_manager engine: apple@apple1:~/jiuhe/users_manager$ rails g

  • 0

I have generated a resource named “fax” in the users_manager engine:

apple@apple1:~/jiuhe/users_manager$ rails g resource users_manager/fax
      invoke  active_record
      create    db/migrate/20111129123558_create_users_manager_faxes.rb
      create    app/models/users_manager/fax.rb
   identical    app/models/users_manager.rb
      invoke    test_unit
      create      test/unit/users_manager/fax_test.rb
      create      test/fixtures/users_manager/faxes.yml
      invoke  controller
      create    app/controllers/users_manager/faxes_controller.rb
      invoke    erb
      create      app/views/users_manager/faxes
      invoke    test_unit
      create      test/functional/users_manager/faxes_controller_test.rb
      invoke    helper
      create      app/helpers/users_manager/faxes_helper.rb
      invoke      test_unit
      create        test/unit/helpers/users_manager/faxes_helper_test.rb
      invoke    assets
      invoke      js
      create        app/assets/javascripts/users_manager/faxes.js
      invoke      css
      create        app/assets/stylesheets/users_manager/faxes.css
       route  namespace :users_manager do resources :faxes end

And I wrote the configure/routes.rb

    UsersManager::Engine.routes.draw do
     namespace :users_manager do
    resources :users do
      resources :faxes
      resources :emails
      resources :qqs
      resources :addresses
      resources :telephones
    end
  end

  match "/:action"=>"users_manager/account"
  end

But the route helper users_manager_engine.users_manager_user_fax_path can’t work.

Rails give me a message:

undefined method `users_manager_user_fax_path' for
 #<ActionDispatch::Routing::RoutesProxy:0x7f0ca0ab3520>

However the route helper users_manager_engine.users_manager_user_faxes_path exists.

  • 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-27T04:29:55+00:00Added an answer on May 27, 2026 at 4:29 am

    Check “rake routes” in the console, you’ll discover that the singular of “faxes” in your routes is not “fax” but “faxis”.
    So the correct route would be users_manager_user_faxis_path

    If you’re not happy with that, you can edit or create a config/initializers/inflections.rb with

    ActiveSupport::Inflector.inflections do |inflect|
      inflect.singular 'faxes', 'fax'
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have some auto-generated resource files in our project in Visual Studio 2008, with
I have generated a collection of images. Some of them are blank as in
I have generated a C# SharePoint Sequential Workflow project using the very handy STSDEV
I have generated inputs with price values. Example: <input type=text value=59,00/> Now I should
I have generated using openssl mycert.pem which contents the certificate. And I converted the
I have generated a bunch of png files to use as markers on my
I have generated class diagram by gight clicking and selecting generate class diagram usign
I have generated an XML file that and one of the nodes contains data
I have generated XML(alarms.xml) in format (example) <markers> <marker lat=41.932797 lng=21.483765 alarm=Boston severity=0 />
I have generated the keystore and its inner key. Then I have my signed

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.