diff --git a/activejob/lib/active_job/arguments.rb b/activejob/lib/active_job/arguments.rb index ccee4ab35b..e54f4afbc7 100644 --- a/activejob/lib/active_job/arguments.rb +++ b/activejob/lib/active_job/arguments.rb @@ -12,7 +12,7 @@ module ActiveJob end end - # Raised when an unsupporter argument type is being set as job argument. We + # Raised when an unsupported argument type is being set as job argument. We # currently support NilClass, Fixnum, Float, String, TrueClass, FalseClass, # Bignum and object that can be represented as GlobalIDs (ex: Active Record). # Also raised if you set the key for a Hash something else than a string or diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 54390e612f..18d4291599 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1291,7 +1291,7 @@ module ActiveRecord # when you access the associated object. # # Scope examples: - # has_one :auther, -> { where(comment_id: 1) } + # has_one :author, -> { where(comment_id: 1) } # has_one :employer, -> { joins(:company) } # has_one :dob, ->(dob) { where("Date.new(2000, 01, 01) > ?", dob) } #