method

relation_with

Importance_0
relation_with(values) 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/relation/spawn_methods.rb, line 71
      def relation_with(values)
        result = Relation.create(klass, values: values)
        result.extend(*extending_values) if extending_values.any?
        result
      end
Register or log in to add new notes.