class method self.construct_finder_arel

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.1.12 Private

Available in: v3.0.20 v3.1.12

Signature

self.construct_finder_arel(options = {}, scope = nil)

No documentation comment.

Parameters

options opt = {}
scope opt = nil
Source
# File activerecord/lib/active_record/base.rb, line 939
        def construct_finder_arel(options = {}, scope = nil)
          relation = options.is_a?(Hash) ? unscoped.apply_finder_options(options) : options
          relation = scope.merge(relation) if scope
          relation
        end

Defined in activerecord/lib/active_record/base.rb line 939 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Base

Type at least 2 characters to search.

↑↓ navigate · open · esc close