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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:49:59+00:00 2026-05-24T03:49:59+00:00

In development mode, I can point my browser at http://localhost:3000/brands/ and I see a

  • 0

In development mode, I can point my browser at http://localhost:3000/brands/ and I see a list of all brands, indicating that the route mapping, the index action in the controller and the index.html.haml file are all doing their job.

I have remembered to run rake db:test:clone.

In /features/support/paths.rb I have:

def path_to(page_name)
  case page_name
  when /the home\s?page/
  '/'
  when /the Brand\s?page/
  '/brands'
end

But when I run cucumber features, I get:

When I am on the Brand page # features/step_definitions/web_steps.rb:44
No route matches "/brands" (ActionController::RoutingError)

How would you go about finding the cause of this problem?

Thanks,

Steven.

  • 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-24T03:50:01+00:00Added an answer on May 24, 2026 at 3:50 am

    Use rails URL helper:

       when /the Brand\s?page/
       brands_path
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey, I hope you can help me. Ive been working in development mode all
Whenever I send out emails in development mode, it does not put the localhost:3000
This adobe's page says that: In Flash Player, full-screen mode can only be initiated
I can see line numbers in my error logs in our development environment, in
Can someone explain how to send mail in development mode from the gwt jetty
How can I remove code when my Rails app is in development mode? For
If I use GWT's Development Mode with Eclipse, changes that I make in the
I'm using webrick to run my rails app in development mode. The page includes
I have a rails application, running in development mode ( with a sqlite database
Debug mode in MigLayout is quite powerful option for development and debugging. It is

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.