Refactoring publisher relationship into common.rb