aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRebecca Skinner <traybaby@gmail.com>2017-02-26 15:47:15 +0800
committerGitHub <noreply@github.com>2017-02-26 15:47:15 +0800
commitd15b29177be06c14c8319d4726bb0e39c558faf0 (patch)
tree14532bc3de1005914d8206f1889f8f7fd7850dfd /activerecord
parentc92757fb68f5a281be0f2ea67e369672e9c4ec6d (diff)
downloadrails-d15b29177be06c14c8319d4726bb0e39c558faf0.tar.gz
rails-d15b29177be06c14c8319d4726bb0e39c558faf0.tar.bz2
rails-d15b29177be06c14c8319d4726bb0e39c558faf0.zip
Fix typo 'affect' -> 'effect' [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
index 26eb70d7cd..24007db8f0 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -440,7 +440,7 @@ module ActiveRecord
# is no longer active, then this method will reconnect to the database.
def verify!(*ignored)
if ignored.size > 0
- ActiveSupport::Deprecation.warn("Passing arguments to #verify method of the connection has no affect and has been deprecated. Please remove all arguments from the #verify method call.")
+ ActiveSupport::Deprecation.warn("Passing arguments to #verify method of the connection has no effect and has been deprecated. Please remove all arguments from the #verify method call.")
end
reconnect! unless active?
end