Sha256: f719a5abaa3b7ee9107b3dae0b7aa31ee8a96c7408efc33c4011e101593edf64

Contents?: true

Size: 409 Bytes

Versions: 25

Compression:

Stored size: 409 Bytes

Contents

module Abstractor
  module Methods
    module Models
      module AbstractorRelationType
        def self.included(base)
          base.send :include, SoftDelete

          # Associations
          base.send :has_many, :abstractor_abstraction_schema_relations
          base.send :has_many, :subject_relations

          # base.send :attr_accessible, :deleted_at, :name
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
abstractor-4.4.7 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.4.6 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.4.5 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.4.4 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.4.3 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.4.2 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.4.1 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.4.0 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.3.3 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.3.2 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.3.1 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.3.0 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.2.3 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.2.2 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.2.1 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.2.0 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.1.5 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.1.4 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.1.3 lib/abstractor/methods/models/abstractor_relation_type.rb
abstractor-4.1.2 lib/abstractor/methods/models/abstractor_relation_type.rb