I am making a site with beer info. I want to have the beer name,
brewery and style info for every beer. So they all need to be
connected. But, I don't want two styles, i.e. "Pale Ale", "pale ale",
"paleale". So I was thinking of making style it's own model and people
could choose from a list, and then add one if it wasn't present
But, if I had separate models for brewery also the URLs would be
nested like crazy. And, I want to be able to look up all the beers of
a certain style or from a certain brewery from the URL: example.com/
style/1, or example.com/brewery/1, as well as brew/1.
I know this is an involved question but I just can't wrap my mind
around it. I would appreciate any advice. Thanks for reading.
I want 3 models connected, but I don't want the nested URL craziness.