Dynamic Localisation of Data models and workflows Using ROR and Postgres
|Added at||2016-12-13 06:12|
I am designing data models for my API services using Ruby on Rails and postgres. The application is supposed to handle complicated workflows and models which change according to geography. For example there will be a model and a state machine required for managing worklfows of country X but same state machine and model will not be applicable for country Y. So when I am dealing with country Y I dont want Country X data models and workflows. In this way I will end up creating individual data models for each country which I dont want to. How can I design my data models in such a way that it can handle these localised changes?