diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-11 17:03:10 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-11 17:03:10 +0900 |
commit | 713cee01a5391b1ca56e25883c6c172ae59d7020 (patch) | |
tree | 3f1b270093ae211057d0aa8e174cf9926cfb837d /activerecord | |
parent | 825d70b4069df3411b77636c98ca668292bbc03a (diff) | |
download | rails-713cee01a5391b1ca56e25883c6c172ae59d7020.tar.gz rails-713cee01a5391b1ca56e25883c6c172ae59d7020.tar.bz2 rails-713cee01a5391b1ca56e25883c6c172ae59d7020.zip |
Fix typo a -> an, an -> a [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/middleware/database_selector.rb | 2 | ||||
-rw-r--r-- | activerecord/lib/active_record/persistence.rb | 2 |
2 files changed, 2 insertions, 2 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. # diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb index 2213fbefb4..510a275b4e 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -142,7 +142,7 @@ module ActiveRecord end end - # Deletes the row with a primary key matching the +id+ argument, using a + # Deletes the row with a primary key matching the +id+ argument, using an # SQL +DELETE+ statement, and returns the number of rows deleted. Active # Record objects are not instantiated, so the object's callbacks are not # executed, including any <tt>:dependent</tt> association options. |