This one has kept me up at night. I’m kind of new to Ruby on Rails (5
weeks and counting).
I have two tables.
One table is created by the input of a .csv file.
The other table is a “projects” table.
Displaying the Imports table I can hover over a row and highlight the
What I’m trying to accomplish is when I click on a highlighted row, I
wish to populate an empty table to the right of the Import table.
The table on the right would be results from a search of the “projects”
Currently, imports_id and projects_id are not the same format, nor are
the “titles”. I need to search through the “projects” table for similar
titles and/or 'id’s.
I have the two tables on a page and can populate the “Imports” table.
I’ve been doing a lot of reading and it looks like I would use
“remote_function” to call a function via ajax.
I know this is a lot to ask but I need help.
Thank you for any and all advice.