I have displayed a list of people and now i want to assign them a
relation for example … friend, brother,stranger,etc. the list of
relations is stored with me.
How can I use the select option(probably have to use onchange) so that
the moment i select the relation the record of the person is updated.
The name of the table from where i have to pick the relations is
show.rhtml in view
<[email protected] do |person|%>