From c6f02cbb56b6291533a3756bb5016964c76f5c20 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Tue, 28 Jul 2020 19:22:37 +0900 Subject: [PATCH] a -> an [ci skip] --- activerecord/lib/active_record/model_schema.rb | 2 +- activerecord/lib/active_record/signed_id.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/activerecord/lib/active_record/model_schema.rb b/activerecord/lib/active_record/model_schema.rb index 61da9fdd32..b8f4c54cfa 100644 --- a/activerecord/lib/active_record/model_schema.rb +++ b/activerecord/lib/active_record/model_schema.rb @@ -401,7 +401,7 @@ module ActiveRecord end # Returns the column object for the named attribute. - # Returns a +ActiveRecord::ConnectionAdapters::NullColumn+ if the + # Returns an +ActiveRecord::ConnectionAdapters::NullColumn+ if the # named attribute does not exist. # # class Person < ActiveRecord::Base diff --git a/activerecord/lib/active_record/signed_id.rb b/activerecord/lib/active_record/signed_id.rb index 0cc9f7c2c7..15d8f8adc8 100644 --- a/activerecord/lib/active_record/signed_id.rb +++ b/activerecord/lib/active_record/signed_id.rb @@ -47,9 +47,9 @@ module ActiveRecord end end - # Works like +find_signed+, but will raise a +ActiveSupport::MessageVerifier::InvalidSignature+ + # Works like +find_signed+, but will raise an +ActiveSupport::MessageVerifier::InvalidSignature+ # exception if the +signed_id+ has either expired, has a purpose mismatch, is for another record, - # or has been tampered with. It will also raise a +ActiveRecord::RecordNotFound+ exception if + # or has been tampered with. It will also raise an +ActiveRecord::RecordNotFound+ exception if # the valid signed id can't find a record. # # === Examples