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

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -