On 2 August 2012 07:19, Ajit Teli <lists@ruby-forum.com> wrote:
> 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?
What have you tried and what about it did not work?
Colin
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment