I have a Rails 4 app using PostgreSQL. My app provides a lists of desks. Each desk can come in 1 or more colors (blue,red,green, etc...)
Given a model Desk, what is the best way to store the available color per desk?
I could do something like Desk.color_options and just have a list but then if I want to show all desks that come in the color red I wouldn't be able to sort through the desk records efficiently.