# File lib/postgres_ext/active_record/relation/query_methods.rb, line 178 def with(opts = :chain, *rest) if opts == :chain WithChain.new(spawn) elsif opts.blank? self else spawn.with!(opts, *rest) end end