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

# module ActiveRecord::DynamicMatchers::DeprecatedFinder

### Public Instance Methods

body() click to toggle source

    # File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 6
    def body
      <<-CODE
        result = #{super}
        result && block_given? ? yield(result) : result
      CODE
    end

result() click to toggle source

    # File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 13
    def result
      "all.apply_finder_options(options, true).#{super}"
    end

signature() click to toggle source

    # File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 17
    def signature
      "#{super}, options = {}"
    end