I’m in the early stages of building a rails application that will track rolls of film. I have at least three models that need to keep track of their film format. There will only be 6-7 possible formats, and it is highly, highly unlikely that this list will ever change.
I could just add a format:string field to every model that requires it, but having the same field duplicated across three models feels wrong for some reason, especially considering the limited number of valid options.
Is there a better way for three models to store this type of information?