Module | ActiveRecord::Acts::Attachable::ClassMethods
In: | lib/acts_as_attachable.rb

### Methods

inherited_with_attachable

### Public Instance methods

inherited_with_attachable(subclass)

[Source]

        # File lib/acts_as_attachable.rb, line 19
    19:         def inherited_with_attachable(subclass)
    20:           inherited_without_attachable(subclass)
    21:           subclass.class_eval do
    22:             has_many :attachments, :as => :attachable, :dependent => :destroy
    23:           end
    24:         end

[Validate]