Hello all,
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.

Imports
 - imports_id
 - imports_title
 - description
 - manager

The other table is a "projects" table.

Projects
 - projects_id
 - project_title
 - description
 - manager

Displaying the Imports table I can hover over a row and highlight the
individual rows.
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"
table.
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.

JohnM
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to