If code needs to be used in more than one codebase consider moving it into a Ruby Gem or NPM Package.