After thinking about this a bit more, we don't want to put a dynamic DB call in a class Constant. If CSV_FLAVOR_FIELDS is dynamic in nature, that conflicts with the fact that constants are only instantiated once in the class body. Let's move this line of code into the self.to_csv method.