= f.select :traveler_id
,options_for_select(
@individual_trips.map{|d| [d.individual.full_name,d.individual_id]}
,f.object.traveler_id
)
OR
Accessing Values by form object
f.object.id
f.object.name
=select_tag 'event-accommodation-type',options_for_select([['Check in','check-in'],['Check out','check-out']],'check-out')
ReplyDelete