ruby - Manage Rails model classes across repositories -
my project has following setup. have 2 repositories (seprate projects):
- one generates model classes (ruby)
- one works model classes (rails)
the first 1 writes model objects database (elasticsearch) , second 1 reads them again. using persistence layer of elasticsearch , have redundant class definitions in both projects.
i resolve redundancy, how 1 approach this? don't want merge both projects. should use git submodules this?
how deal different namespaces?
if want solution based on git either submodules or subtree. both have different use-case scenarios, worth studying.
Comments
Post a Comment