Search Results

Search found 2 results on 1 pages for 'phillee'.

Page 1/1 | 1 

  • git reference common directory/repo

    - by phillee
    Project layout: /project_a /shared /project_b /shared /shared project_a and project_b both need to contain the shared folder. With svn, we used svn:externalsand that worked fine, since svn can reference subdirs (with relative paths too). However, we moved to git and it seems to not support checking out subdirs. Our solution now is to put project_a, project_b and shared all in different git repos, and use git submodules in project_a and project_b. However this seems much more complicated than one monolithic svn repo with svn:externals. What's the correct way to handle common elements in git?

    Read the article

  • ActiveRecord habtm through belongs_to

    - by phillee
    Setup: ModelA <- habtm -> ModelB <- has_many / belongs_to -> ModelC I'd like to setup a habtm between ModelB and ModelC, I've tried has_many :ModelA, :through => :Model3 But that doesn't seem to work. Is there a way to accomplish this?

    Read the article

1