require 'subj_models/concerns/comprising_external_id' module SubjModels module QualityModule def self.included(including_class) including_class.class_eval do include SubjModels::ComprisingExternalId has_many :nomenclature_prices end end end end