module ActsAsParanoid::Associations
Public Class Methods
included(base)
click to toggle source
# File lib/acts_as_paranoid/associations.rb, line 5 def self.included(base) base.extend ClassMethods class << base alias_method :belongs_to_without_deleted, :belongs_to alias_method :belongs_to, :belongs_to_with_deleted end end