aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.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/core.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/core.rb')
-rw-r--r--activerecord/lib/active_record/core.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb
index 878d87638d..d4836faa4b 100644
--- a/activerecord/lib/active_record/core.rb
+++ b/activerecord/lib/active_record/core.rb
@@ -299,14 +299,14 @@ module ActiveRecord
private
- def cached_find_by_statement(key, &block) # :nodoc:
+ def cached_find_by_statement(key, &block)
cache = @find_by_statement_cache[connection.prepared_statements]
cache[key] || cache.synchronize {
cache[key] ||= StatementCache.create(connection, &block)
}
end
- def relation # :nodoc:
+ def relation
relation = Relation.create(self, arel_table, predicate_builder)
if finder_needs_type_condition? && !ignore_default_scope?
@@ -316,7 +316,7 @@ module ActiveRecord
end
end
- def table_metadata # :nodoc:
+ def table_metadata
TableMetadata.new(self, arel_table)
end
end