diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-08-24 18:33:59 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-08-24 18:35:22 +0200 |
commit | f3b8a0d375fe441d70b9c77bd9c20347c71a70cb (patch) | |
tree | 61ef272ef3e288e5d0791d17eb19a5f18da97b2f | |
parent | fe62df5e23ee1164185d9ec808f232c571438f76 (diff) | |
download | rails-f3b8a0d375fe441d70b9c77bd9c20347c71a70cb.tar.gz rails-f3b8a0d375fe441d70b9c77bd9c20347c71a70cb.tar.bz2 rails-f3b8a0d375fe441d70b9c77bd9c20347c71a70cb.zip |
Fix a few typos [ci skip]
-rw-r--r-- | activejob/lib/active_job/arguments.rb | 2 | ||||
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 2 |
2 files changed, 2 insertions, 2 deletions
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) } # |