How do I make a select with data from another table and then make it
select the current value? I’ve been able to make a basic list with the
related data, but I don’t know how to select the selected item.
<%= select(‘content’, ‘id’, Page.find_all.collect { |p| [ p.name, p.id
]}) %>