python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to pass in item Id to text field tag from datalist
Currently I learning about Ruby on Rails. So I try to make 1 simple app, but I facing some problem.
I want to pass the item id from select tag datalist to text field tag in rails. But I want to show i...
abdullah
Votes: 0
Answers: 1
Ruby on Rails // Getting a Strange Return on .each loop
I am making a shopping cart for a web app. So far it has 3 components: 'products', 'line_items' and 'carts'. The flow seems to be okay. I am getting all the returns I want. But, after the .each lo...

Marc Auciello
Votes: 0
Answers: 1
Rails link_to with same page anchor and class name
I'm trying to use rails link_to to produce
<a href="/#about" class="leftnav__link">about</a>
I have tried
<%= link_to "about", anchor: "about", ...

rosalynnas
Votes: 0
Answers: 1
Ruby on Rails - Creating rows in an html.erb table by looping over instance variable
I have an instance variable @referrals which contains names of referrals a person has done. I now need to create a table showing all these referrals as rows. I have tried the following code in the htm...
give_me_ur_btcns
Votes: 0
Answers: 1