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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:33:22+00:00 2026-05-29T19:33:22+00:00

I am working on a Web Application with rails which is more of a

  • 0

I am working on a Web Application with rails which is more of a single page ( think a dashboard )

I want a left side strip fetching a list with and a main app area to the left rendering most of the Application (All with jQuery)

In Rails I have a single controller Dashboard for now. I want the request of left side bar to reach the appropriate method so as I can reply with Json. Similarly for the main area.

As the application gets complex, the URL appended with #specific URL is also something I want.
example –> ‘gamail.com#inbox’ , ‘gmail.com#drafts’

How would the routes work in this case? I have read the Rails Official docs and searched quite a lot but could not find much information.

  • 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-29T19:33:25+00:00Added an answer on May 29, 2026 at 7:33 pm

    I am using the jQuery Back Button & Query library. This will allow you to create hash-urls and respond to changes in the url. What you then do with that hash-part depends on you.

    Check out the examples there.

    For example, suppose in your sidebar you have a list of books, or wines, or whatever. You create an url like you said, http://yourwebsite.com#your-book, then inside your javascript code, you will have to translate that to the correct rails url, for instance http://yourwebsite.com/books/your-book and show that JS/JSON on the part of the page you want it to be seen.

    So the routes in your rails-app are totally no linked, and you will have to translate the url-part to the correct url.

    Backbone.js or spine.js offer routing on the client-side, but in my experience I only got that to work for really simple cases (but this could also be caused by my limited knowledge & experience in such frameworks).

    Hope this helps.

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

Sidebar

Related Questions

We're working on some Ruby on Rails web application which is currently in English
I am working on a web application which must be able to encrypt data
I'm working on a Rails web application with a MySQL database. I'm using migrations
i'm working in a big and rich rails web application using tons of javascript.
I'm working on a web application right now using Rails and wanted to see
I am working on a Ruby on Rails 3 web application and am not
we are working on a large web application with Rails for quite a while
I have a web application I am working on with Rails 3 and I
I'm working on a Rails web application, and it's currently being used by some
in my rails web application I am implementing Facebook connectivity. I want that whenever

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.