From 5394f2cde802c0d2cd22addda79b4fdb1419d289 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 24 Apr 2016 10:54:53 +0900 Subject: [PATCH] Add `:nodoc:` to `insert_versions_sql` [ci skip] Follow up to #24685. `insert_versions_sql` is not public API. --- .../connection_adapters/abstract/schema_statements.rb | 2 +- .../lib/active_record/connection_adapters/abstract_adapter.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index 105d9cde92..d8cc60e924 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -989,7 +989,7 @@ module ActiveRecord insert_versions_sql(versions) end - def insert_versions_sql(versions) + def insert_versions_sql(versions) # :nodoc: sm_table = ActiveRecord::Migrator.schema_migrations_table_name if supports_multi_insert? diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 2e18226a10..2c476ec285 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -298,7 +298,7 @@ module ActiveRecord false end - # Does this adapter support multi-value insert + # Does this adapter support multi-value insert? def supports_multi_insert? true end