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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:24:32+00:00 2026-05-16T22:24:32+00:00

<%= link_to ‘Testing’, wak_path %> *This requires a routes: match ‘wak’, :to => ‘home#wak’

  • 0
<%= link_to 'Testing', wak_path %>

*This requires a routes: match 'wak', :to => 'home#wak'

Did they take this out of rails 3.0 or what is going on?

<%= link_to 'Testing, :controller=>:home,:actions=>:wak %>

But in the views, I’m getting two different code, the top method works, though the second method dosen’t have the same behavior. Why is this?

I just did some test and this is what i’ve come up with when i change the params. and what i get for output.

<%= link_to 'hello', test_path, :remote=>true%>
<a href="/test" data-remote="true">hello</a> 

<%= link_to 'hello', {:controller=>:home,:actions=>:test}, :remote=>true%>
<a href="/home/index?actions=test" data-remote="true">hello</a> 


<%= link_to 'hello', :url=>{:controller=>:home,:actions=>:test}, :remote=>true%>
<a href="/home/index?url[controller]=home&amp;url[actions]=test&amp;remote=true">hello</a>
  • 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-16T22:24:33+00:00Added an answer on May 16, 2026 at 10:24 pm

    :action instead of :actions

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

Sidebar

Related Questions

I followed this link to gzip my php driven website It's working fine but
I found this link Link to another page using Twitter Bootstrap jquery modal in
link_to feed_item.votes_for + Into it!, into_it_micropost_path(feed_item.id) I basically want the hyperlink to be that
My link_to tag is: <%= link_to(My test title,{:controller=>search, :action=>for-sale, :id=> listing.id, :title => listing.title,
I need to link to Login.cshtml page from Home.cshtml and it can't seem to
I need to add link to my gridview this link will call action with
I want to use link_to to create a new article and set the article's
I want to create link_to google like in Rails. Let me explain. On simple
Trying to link to an object name with <%= link_to '<%= museum.name %>', museum
Link to code I have been struggling with this code for about two weeks

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.