Module: ActsAsParanoid::Associations

Defined in:
lib/acts_as_paranoid/associations.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
# File 'lib/acts_as_paranoid/associations.rb', line 3

def self.included(base)
  base.extend ClassMethods
  class << base
    alias_method_chain :belongs_to, :deleted
  end
end