module ActiveRecord::DynamicMatchers::DeprecationWarning - activerecord-deprecated_finders-1.0.3 Documentation

# module ActiveRecord::DynamicMatchers::DeprecationWarning

### Public Instance Methods

body() click to toggle source

    # File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 23
    def body
      "#{deprecation_warning}\n#{super}"
    end

deprecation_warning() click to toggle source

    # File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 27
    def deprecation_warning
      %Q{ActiveSupport::Deprecation.warn("This dynamic method is deprecated. Please use e.g. #{deprecation_alternative} instead.")}
    end