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

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.

↑↓ navigate · open · esc close