I feel the need to apologize for asking such a simplistic question, but I\'m getting increasingly frustrated with the Rails Guides. I\'m sure they answer my question, but they d
I think that select elements are one of the more confusing aspects of Rails, because as you said there seem to be a number of ways to do it.
select
Try this:
<%= f.select(:album_id, @image.albums.all.collect {|a| [a.name, a.id]}) -%>