aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/middleware/database_selector.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-11 17:03:10 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-11 17:03:10 +0900
commit713cee01a5391b1ca56e25883c6c172ae59d7020 (patch)
tree3f1b270093ae211057d0aa8e174cf9926cfb837d /activerecord/lib/active_record/middleware/database_selector.rb
parent825d70b4069df3411b77636c98ca668292bbc03a (diff)
downloadrails-713cee01a5391b1ca56e25883c6c172ae59d7020.tar.gz
rails-713cee01a5391b1ca56e25883c6c172ae59d7020.tar.bz2
rails-713cee01a5391b1ca56e25883c6c172ae59d7020.zip
Fix typo a -> an, an -> a [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/middleware/database_selector.rb')
-rw-r--r--activerecord/lib/active_record/middleware/database_selector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/middleware/database_selector.rb b/activerecord/lib/active_record/middleware/database_selector.rb
index aad263695b..b5b5df074c 100644
--- a/activerecord/lib/active_record/middleware/database_selector.rb
+++ b/activerecord/lib/active_record/middleware/database_selector.rb
@@ -11,7 +11,7 @@ module ActiveRecord
# behavior.
#
# The resolver class defines when the application should switch (i.e. read
- # from the primary if a write occurred less than 2 seconds ago) and an
+ # from the primary if a write occurred less than 2 seconds ago) and a
# resolver context class that sets a value that helps the resolver class
# decide when to switch.
#