aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/spawn_methods.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2016-12-24 22:39:19 +0900
committerAkira Matsuda <ronnie@dio.jp>2016-12-24 23:39:36 +0900
commit6c5bbb4b7d3bdd1b43e512fb6ae764c373c7827b (patch)
tree50d8ccf2342bb2da9316affed1db5aaf87482748 /activerecord/lib/active_record/relation/spawn_methods.rb
parent4273ab34c484f38fa9f77d133cd83256d721e7c8 (diff)
downloadrails-6c5bbb4b7d3bdd1b43e512fb6ae764c373c7827b.tar.gz
rails-6c5bbb4b7d3bdd1b43e512fb6ae764c373c7827b.tar.bz2
rails-6c5bbb4b7d3bdd1b43e512fb6ae764c373c7827b.zip
No need to nodoc private methods
Diffstat (limited to 'activerecord/lib/active_record/relation/spawn_methods.rb')
-rw-r--r--activerecord/lib/active_record/relation/spawn_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/spawn_methods.rb b/activerecord/lib/active_record/relation/spawn_methods.rb
index 190e339ea8..ada89b5ec3 100644
--- a/activerecord/lib/active_record/relation/spawn_methods.rb
+++ b/activerecord/lib/active_record/relation/spawn_methods.rb
@@ -66,7 +66,7 @@ module ActiveRecord
private
- def relation_with(values) # :nodoc:
+ def relation_with(values)
result = Relation.create(klass, table, predicate_builder, values)
result.extend(*extending_values) if extending_values.any?
result