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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:27:04+00:00 2026-06-14T18:27:04+00:00

I am making a twitter like web app in rails, following a course. I

  • 0

I am making a twitter like web app in rails, following a course. I am trying to change the path but every time i start the server i get an eror and the server shuts down.

this is the path:

ActionController::Routing::Routes.draw do |map|
  map.resources :posts
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'
end

I have done routes before but they haven’t looked like that. I think this is a ruby route where as i’m on rails. I’m not too sure. I thought they would work.

  • 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-14T18:27:06+00:00Added an answer on June 14, 2026 at 6:27 pm

    Your resource would look something like this

    PlatformAuth::Application.routes.draw do
      resources :posts
    end
    

    for the map.connect it’s more like a named route it would look something like

    match ':controller(/:action(/:id(.:format)))' 
    

    That will make all your controller actions available through a get request. Not sure if that’s really want you want though.

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

Sidebar

Related Questions

I am practicing making a web app which tries to read the user's twitter
I'm making a navigation bar like Twitter, but I want that one div inside
I am making a Rails app, and am trying to achieve a particular functionality
As i am making a simple forum with the touch of twitter like follower
I am working on making a twitter client app. One of the requirement of
I have a twitter feed in a list box in a app I'm making
So I'm making a very basic Twitter app (it's actually Presence 2 from the
I'm starting a project with Twitter Bootstrap, and quite like the responsive css, making
For school I'm making this website which is a look-a-like of twitter. Now I
I'm making an app and seen that twitter has this style for navigating through

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.