I currently have a database with a table called bookstores. Within that
table are columns such as bookstore name, city, state, and zip code.
What I’d like to do is display the City and then every store name for
that city underneath it.
- Store 1
- Store 15
- Store 2
- Store 5
etc. I’ve seen act_as_tree but I don’t know if it’ll help me as I’m just
using one table here. Is there a rails way to do what I want?