This is a really simple question but I am new. I am trying to create a dropdown menu with values populated from the model. However, instead of displaying the city names, I am getting the record id's like: 0x007fee0b7442c0 (not sure if these are called id's, I think there is another term).
Controller:
@cities = City.find(:all, select: "name")
View:
<%= f.select(:city, @cities) %>
What am I doing wrong?