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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:15:00+00:00 2026-06-02T00:15:00+00:00

I guess this thing has amused me even before writing I feel it has

  • 0

I guess this thing has amused me even before writing I feel it has something to do with asset pipeline feature in Rails 3.1+.

I have defined a routes in routes.rb file with name assets. Here is the routes.rb file:

resources :assets do 
    member do
      get 'remove_template'
      get 'all_sticker'
      get 'download_sticker'
    end
    collection do 
      get 'failed_asset'
    end
  end

Now when ran rake routes:

sample_template_sticker_template GET    /sticker_templates/:id/sample_template(.:format) sticker_templates#sample_template
    update_copy_sticker_template PUT    /sticker_templates/:id/update_copy(.:format)     sticker_templates#update_copy
               sticker_templates GET    /sticker_templates(.:format)                     sticker_templates#index
                                 POST   /sticker_templates(.:format)                     sticker_templates#create
            new_sticker_template GET    /sticker_templates/new(.:format)                 sticker_templates#new
           edit_sticker_template GET    /sticker_templates/:id/edit(.:format)            sticker_templates#edit
                sticker_template GET    /sticker_templates/:id(.:format)                 sticker_templates#show
                                 PUT    /sticker_templates/:id(.:format)                 sticker_templates#update
                                 DELETE /sticker_templates/:id(.:format)                 sticker_templates#destroy
                       thank_you        /thank_you(.:format)                             home#thank_you
                            home        /welcome(.:format)                               home#index
                new_user_session GET    /users/sign_in(.:format)                         devise/sessions#new
                    user_session POST   /users/sign_in(.:format)                         devise/sessions#create
            destroy_user_session DELETE /users/sign_out(.:format)                        devise/sessions#destroy
                   user_password POST   /users/password(.:format)                        devise/passwords#create
               new_user_password GET    /users/password/new(.:format)                    devise/passwords#new
              edit_user_password GET    /users/password/edit(.:format)                   devise/passwords#edit
                                 PUT    /users/password(.:format)                        devise/passwords#update
                           login GET    /                                                devise/sessions#new
                          logout GET    /logout(.:format)                                devise/sessions#destroy
                           users GET    /users(.:format)                                 users#index
                                 POST   /users(.:format)                                 users#create
                        new_user GET    /users/new(.:format)                             users#new
                       edit_user GET    /users/:id/edit(.:format)                        users#edit
                            user GET    /users/:id(.:format)                             users#show
                                 PUT    /users/:id(.:format)                             users#update
                                 DELETE /users/:id(.:format)                             users#destroy
                        products GET    /products(.:format)                              products#index
                                 POST   /products(.:format)                              products#create
                     new_product GET    /products/new(.:format)                          products#new
                    edit_product GET    /products/:id/edit(.:format)                     products#edit
                         product GET    /products/:id(.:format)                          products#show
                                 PUT    /products/:id(.:format)                          products#update
                                 DELETE /products/:id(.:format)                          products#destroy
         create_sticker_stickers GET    /stickers/create_sticker(.:format)               stickers#create_sticker
                        stickers GET    /stickers(.:format)                              stickers#index
                                 POST   /stickers(.:format)                              stickers#create
                     new_sticker GET    /stickers/new(.:format)                          stickers#new
                    edit_sticker GET    /stickers/:id/edit(.:format)                     stickers#edit
                         sticker GET    /stickers/:id(.:format)                          stickers#show
                                 PUT    /stickers/:id(.:format)                          stickers#update
                                 DELETE /stickers/:id(.:format)                          stickers#destroy

As you can see I can’t find any routes define for assets resources even though I can access all of the available routes I define for assets in routes.rb.

Can anyone explain why the output of rake routes does not contain information for assets resources.

  • 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-02T00:15:02+00:00Added an answer on June 2, 2026 at 12:15 am

    Change the path of your resource (assets) and you’ll be fine! It’ll resolve conflicts with the default /assets path that is used for serving your styles/images/javasctipts.

    Try this:

    resources :assets, path: '/my_assets' do 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I guess this is a simple question. I need to do something like this:
I guess this is kind of an odd question but I have tried setting
I guess this is simple, but i couldnot figure it out. i have a
Apologies if this kind of thing has been answered elsewhere. I am using Python
Has anyone done something like this? How? I'm just starting a project that will
I have this weird thing happening: when clicking spans in the navigation the content
Well, I guess this day had to come. My client's website has been compromised
Before I begin, I guess this may not be strictly programming related but I
Mike Ash has written this introduction to ARC where he introduces something like: __weak
I noticed this thing: my class has boolean member and at some run-point I

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.