ruby - Manage Rails model classes across repositories -


my project has following setup. have 2 repositories (seprate projects):

  1. one generates model classes (ruby)
  2. 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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -