method

construct_finder_arel

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: ClassMethods
construct_finder_arel(options = {}, scope = nil) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide 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
Register or log in to add new notes.