Sha256: 21960921af4795dcdac3455d45fce7decdb1f50c5df33eb6b1d6d6613bb7f242

Contents?: true

Size: 371 Bytes

Versions: 15

Compression:

Stored size: 371 Bytes

Contents

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

          # Associations
          base.send :has_many, :abstractor_subjects

          base.send :attr_accessible, :deleted_at, :description, :name, :abstractor_subjects
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
abstractor-1.0.23 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.22 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.20 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.19 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.18 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.17 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.16 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.15 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.14 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.13 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.12 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.11 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.10 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.9 lib/abstractor/methods/models/abstractor_rule_type.rb
abstractor-1.0.8 lib/abstractor/methods/models/abstractor_rule_type.rb