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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:52:48+00:00 2026-06-09T17:52:48+00:00

What would be used more preferably? What will work faster? For example I need

  • 0

What would be used more preferably?
What will work faster?

For example I need create some link. What use? <a> or link_to?

  • 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-09T17:52:49+00:00Added an answer on June 9, 2026 at 5:52 pm

    Stylistically, you may prefer this

    <%= link_to "Users", users_path %>
    

    to this

    <a href="<%= users_path %>">Users</a>
    

    mainly because it doesn’t mix the HTML tags with the ERB quite as bad. It all stays in ERB.

    Another reason probably doesn’t apply to your situation right now but could apply in the future. The more view helpers like link_to that you use, the more globally configurable your application becomes. You may end up wanting to use a plugin in the future that globally modifies how link_to works, but obviously it wouldn’t apply if you used straight up <a> tags.

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

Sidebar

Related Questions

Would like to make anapplication in Java that will not automatically parse parameters used
in a C++ program I need some helper constant objects that would be instantiated
I would like to add some dynamic behavior to an application, preferably without resorting
I have a char pointer which would be used to store a string. It
If you were to build a processor that would be used to run any
What would a developer used to working in Visual Studio have to give up
Would it be correct to say that whenever casting is used, the resulting object
Would you happen to know of any tools that can be used to find
I would like to drop the sequence used in table and the table itself
I used the same command syntax above as in Mysql and would like set

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.