instance method construct_finder_arel

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v3.2.22.5 Private — implementation detail, not part of the public API

Signature

construct_finder_arel(options = {}, scope = nil)

No documentation comment.

Parameters

options opt = {}
scope opt = nil
Source
# File activerecord/lib/active_record/scoping.rb, line 135
      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/scoping.rb line 135 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Scoping::ClassMethods

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close