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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:40:19+00:00 2026-06-07T01:40:19+00:00

I am a beginner with Ruby on Rails. I have been able to build

  • 0

I am a beginner with Ruby on Rails. I have been able to build a small application with the help of ROR.

I want to fetch and load some of my data without loading the whole page. On click of different links, data should be uploaded in the respective div. I am trying to provide :remote=>true property on the link. But this property is not rendering an attribute properly.

After following multiple links on Rails with Ajax, I found that in view links should be given as:

<%= link_to cateogary.cateogary_name, :controller => "cateogaries", :action => "show_async", :id => cateogary_id, :remote => true %>

This should be converted to:

<a href="/cateogaries/12/show_async data-remote=true">

While, this is converted to:

<a href="/cateogaries/12/show_async?remote=true">

What could be its probable reason?
Please forward some good link which provides complete Ajax implementation in ROR.

  • 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-07T01:40:20+00:00Added an answer on June 7, 2026 at 1:40 am

    Rails is recognizing :remote => true as a parameter for the URL. Try this:

    <%= link_to cateogary.cateogary_name, { :controller => "cateogaries", :action => "show_async", :id => cateogary_id }, :remote => true %>
    

    Or maybe this:

    <%= link_to cateogary.cateogary_name, "/cateogaries/#{cateogary_id}/show_async", :remote => true %>
    

    Additionally, I’d recommend you to read this (and also check the links).

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

Sidebar

Related Questions

I am beginner in ruby + rails. I have problem to get values in
I am a beginner with Ruby on Rails. I have a question regarding organizing
I am a Ruby beginner and I'm looking for some help about Devise. My
I am a beginner Ruby on Rails developer. So far I have created several
I'm a beginner to ruby on rails that's migrating an access database to RoR.
A few years back, I started learning Ruby/Rails from some beginner's guide for Rails.
I have my beginner Ruby application working perfectly on my local server using Rack
I am a beginner at Ruby on Rails. Currently, I have the following problem:
I am a beginner in Ruby on Rails and I want to develop an
I'm new to Ruby on Rails and have some questions: What tutorials are available

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.