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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:28:12+00:00 2026-05-25T02:28:12+00:00

I was tring out below scenario: Approach 1: Created an resource using rails scaffold,

  • 0

I was tring out below scenario:

Approach 1: Created an resource using rails scaffold, coded all the functionality i.e. index, new, edit and delete functionality – everything is working fine.

Approach 2: Tried to create manually the controller and views for the same functionality with different name for the model created in approach 1. The functionality is working fine.

But i get an RoutingError as:

Started GET "/userwebmgmts/stylesheets/ctlCalendar.css" for 127.0.0.1 at 2011-08-29 17:08:37 +0530

ActionController::RoutingError (No route matches "/userwebmgmts/stylesheets/ctlCalendar.css"): 

In Route.rb file:

added the entry for the newly created controller/view as: get "userwebmgmts/index"

Can anyone help tell why i am getting the error for the controller created manually and not getting the error for the resources created using scaffold?

Thanks,
Sudhir C.N.

  • 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-25T02:28:13+00:00Added an answer on May 25, 2026 at 2:28 am

    This is just a shot in the dark from the information you provided but…

    Rails routes work in an order first a rack application checks the /public/ folder in the root of your application. If there is a matching file then it will load that.

    Rails 3.1

    If not it will load up the assets folder and create the pipe line and then check the application.css and application.js

    Then it will load up the routes file and start ticking though your routes

    If no route matches then you will get an exception thrown.

    Your Problem

    Your problem probably comes from the fact that your css is in the wrong place

    With your file structure

    /userwebmgmts/stylesheets/ctlCalendar.css
    

    You should have a link in the page header that looks like this

      <link rel="stylesheet" href="/userwebmgmts/stylesheets/ctlCalendar.css" type="text/css" media="screen" title="no title" charset="utf-8">
    

    And the file should be located at

    /public/userwebmgmts/stylesheets/ctlCalendar.css
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to figure out how to replace binary data using Java. below is
I'm using Ubuntu 10 and trying out the below code in Firefox 3.6 and
I am trying to figure out what the below syntax do. It's code from
I am just trying to figure out what the below means in Ruby. ([^]*)$/
Note my code below. I am trying to figure out why my data is
This might be a very simple thing. Check out the normal sql query below
Can't seem to figure this out, see code below. Trying to make a GET
So, I'm working with CKEditor and jQuery, trying to build a pop-out editor. Below
I'm tring to find out a way to get the complete method signature that
I am trying out WebDriverBacked selenium. I used the below code. But, it gives

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.