Dear all,

   I have two columns in a table: 1. vehicles, 2. drivers.
The table lists all the vehicles in vehicles column and drivers column
will have select_tag dropdown to select a driver.

For ex, following drivers are set to vehicles.

vehicle1 -> driver1
vehicle2 -> select
vehicle3 -> driver2

Here, when change driver for vehicle1 from driver1 to driver2 using
drop-down list, I am updating the database table for both vehicle1 and
vehicle3. But I need to update the driver to 'select' for vehicle3. May
I know how can I do this?

Thanks,
Ajit

-- 
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 https://groups.google.com/groups/opt_out.


Reply via email to