aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/schema_cache.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/schema_cache.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/schema_cache.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/schema_cache.rb b/activerecord/lib/active_record/connection_adapters/schema_cache.rb
index eee142378c..d1708a6af8 100644
--- a/activerecord/lib/active_record/connection_adapters/schema_cache.rb
+++ b/activerecord/lib/active_record/connection_adapters/schema_cache.rb
@@ -33,7 +33,7 @@ module ActiveRecord
@data_sources[name] = connection.data_source_exists?(name)
end
alias table_exists? data_source_exists?
- deprecate :table_exists? => "use #data_source_exists? instead"
+ deprecate table_exists?: "use #data_source_exists? instead"
# Add internal cache for table with +table_name+.
@@ -49,7 +49,7 @@ module ActiveRecord
@data_sources[name]
end
alias tables data_sources
- deprecate :tables => "use #data_sources instead"
+ deprecate tables: "use #data_sources instead"
# Get the columns for a table
def columns(table_name)
@@ -85,7 +85,7 @@ module ActiveRecord
@data_sources.delete name
end
alias clear_table_cache! clear_data_source_cache!
- deprecate :clear_table_cache! => "use #clear_data_source_cache! instead"
+ deprecate clear_table_cache!: "use #clear_data_source_cache! instead"
def marshal_dump
# if we get current version during initialization, it happens stack over flow.