Flowdock
method

relation_with

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::SpawnMethods
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 66
      def relation_with(values) # :nodoc:
        result = Relation.new(klass, table, values)
        result.default_scoped = default_scoped
        result.extend(*extending_values) if extending_values.any?
        result
      end
Register or log in to add new notes.