Sha256: e1d121ed9278ddde141dd8547a1bcc989513cab81f6714d9fa1631142c24d060

Contents?: true

Size: 314 Bytes

Versions: 32

Compression:

Stored size: 314 Bytes

Contents

module CurationConcerns
  module NestedWorks
    extend ActiveSupport::Concern

    included do
      class_attribute :valid_child_concerns
      self.valid_child_concerns = CurationConcerns::ClassifyConcern.new.all_curation_concern_classes
    end

    def in_works_ids
      in_works.map(&:id)
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.7 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-2.0.0 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-2.0.0.rc2 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.6 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.5 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.4 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.3 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.2 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-2.0.0.rc1 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.1 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.0 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.7.0.beta1 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.6.3 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.6.2 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.6.1 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.6.0 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.5.0 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.4.0 app/models/concerns/curation_concerns/nested_works.rb
curation_concerns-1.3.3 app/models/concerns/curation_concerns/nested_works.rb