Answer the question
In order to leave comments, you need to log in
How to output values from db to rails select tag?
I'm trying to select all the names from the user table, which will then fall into the task table as executors
, here is the select code
<%= f.select :assignee , options_for_select(User.all, :name) %>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question