diff --git a/activejob/lib/active_job/arguments.rb b/activejob/lib/active_job/arguments.rb index ccee4ab35b5485409c82ee69a71e32ef336c6b21..e54f4afbc7a30eb380e8e7ba9ed3fa08765f8ae6 100644 --- a/activejob/lib/active_job/arguments.rb +++ b/activejob/lib/active_job/arguments.rb @@ -12,7 +12,7 @@ def initialize(e) 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 54390e612f57e7047357969ce23527540eceedf3..18d4291599310fdd0aa023148cf9772e6ef8d418 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1291,7 +1291,7 @@ def has_many(name, scope = nil, options = {}, &extension) # 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) } #